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

Bruce Momjian <bruce@momjian.us>

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