Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: set stats_temp_directory to tmp (#3129)
Danny Xu7820fcbda4dc
diff --git a/resources/postgres/postgres.go b/resources/postgres/postgres.goindex 9a2d8c184e..db779f30c7 100644--- a/resources/postgres/postgres.go+++ b/resources/postgres/postgres.go@@ -109,7 +109,7 @@ func Start(port int, baseDir string, dataDir string, stdout, stderr io.Writer) (// https://www.postgresql.org/docs/current/app-postgres.htmlp := exec.Command(pgbin, "start", "-w","-D", dataDir,- "-o", fmt.Sprintf(`-p %d -k %s -h ""`, port, common.GetPostgresSocketDir()))+ "-o", fmt.Sprintf(`-p %d -k %s -h "" -c stats_temp_directory=/tmp`, port, common.GetPostgresSocketDir()))p.Stdout = stdoutp.Stderr = stderr