fix(coderd/database/dbtestutil): fix typo in pgDump (#10033)

This commit is contained in:
Cian Johnston
2023-10-04 13:21:45 +01:00
committed by GitHub
parent c7218b40c9
commit 2405bbe1b9
+1 -1
View File
@@ -186,7 +186,7 @@ func pgDump(dbURL string) ([]byte, error) {
cmd := exec.Command(cmdArgs[0], cmdArgs[1:]...) // nolint:gosec
cmd.Env = []string{
// "PGTZ=UTC", // This is probably not going to be useful if tz has been changed.
"PGCLIENTENCODINDG=UTF8",
"PGCLIENTENCODING=UTF8",
"PGDATABASE=", // we should always specify the database name in the connection string
}
var stdout bytes.Buffer