In pg_upgrade, fix the -l/log option to work on Windows.

Bruce Momjian <bruce@momjian.us>

Commit: c3810795e99ee20181884e62d925f5ac910f0b8b
Author: Bruce Momjian <bruce@momjian.us>
Date: 2011-07-20T22:31:07Z
Releases: 9.1.0
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.

Files

PathChange+/−
contrib/pg_upgrade/pg_upgrade.c modified +37 −7
contrib/pg_upgrade/server.c modified +1 −1