{"modulePath":"github.com/l2x/cockroach","version":"v0.0.0-20160127024617-aef47e87f1a6","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package sqlutils\n\n## Functions\n\n```go\nfunc PGUrl(t util.Tester, ts *server.TestServer, user, tempDir, prefix string) (url.URL, func())\n```\nPGUrl returns a postgres connection url which connects to this server with the given user. Returns a connection string and a cleanup function which must be called after any connection created using the string has been closed.\n\nIn order to connect securely using postgres, this method will create temporary on-disk copies of certain embedded security certificates. The certificates will be created as temporary files in the provided directory, and their filenames will have the provided prefix. The returned cleanup function will delete these temporary files.\n\n","path":"github.com/l2x/cockroach/testutils/sqlutils","name":"sqlutils","synopsis":"","isRedistributable":true}
