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

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

From
Bruce Momjian
Date:
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/17a16eeb7c4fd0c6dce80521247a20d76706b2bb

Modified Files
--------------
contrib/pg_upgrade/check.c      |    2 +-
contrib/pg_upgrade/option.c     |    9 ++++++++-
contrib/pg_upgrade/pg_upgrade.c |   14 +++++++-------
contrib/pg_upgrade/pg_upgrade.h |   10 ++++++++++
contrib/pg_upgrade/server.c     |   28 ++++------------------------
5 files changed, 30 insertions(+), 33 deletions(-)