diff options
author | Bruce Momjian <bruce@momjian.us> | 2011-07-20 18:31:07 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2011-07-20 18:31:07 -0400 |
commit | c3810795e99ee20181884e62d925f5ac910f0b8b (patch) | |
tree | 5dc214126014c0e6f8faa6580c867a40b763124c /contrib/pg_upgrade/server.c | |
parent | 1879cf3f173639de8235fb50be42abbbf672646b (diff) |
In pg_upgrade, fix the -l/log option to work on Windows.
Also, double-quote the log file name in all places, to allow (on all
platforms) log file names with spaces.
Back patch to 9.0 and 9.1.
Diffstat (limited to 'contrib/pg_upgrade/server.c')
-rw-r--r-- | contrib/pg_upgrade/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_upgrade/server.c b/contrib/pg_upgrade/server.c index 58c1234a948..e86540b9d79 100644 --- a/contrib/pg_upgrade/server.c +++ b/contrib/pg_upgrade/server.c @@ -184,7 +184,7 @@ start_postmaster(ClusterInfo *cluster) (cluster->controldata.cat_ver >= BINARY_UPGRADE_SERVER_FLAG_CAT_VER) ? "-b" : "-c autovacuum=off -c autovacuum_freeze_max_age=2000000000", - log_opts.filename); + output_filename); /* * Don't throw an error right away, let connecting throw the error because |