In pg_upgrade, fix the -l/log option to work on Windows.
Bruce Momjian <bruce@momjian.us>
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
| Path | Change | +/− |
|---|---|---|
| contrib/pg_upgrade/check.c | modified | +1 −1 |
| contrib/pg_upgrade/option.c | modified | +8 −1 |
| contrib/pg_upgrade/pg_upgrade.c | modified | +7 −7 |
| contrib/pg_upgrade/pg_upgrade.h | modified | +10 −0 |
| contrib/pg_upgrade/server.c | modified | +4 −24 |