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

From Bruce Momjian
Subject pgsql: In pg_upgrade, fix the -l/log option to work on Windows.
Date
Msg-id E1QjfIm-0000UT-O7@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: In pg_upgrade, fix the -l/log option to work on Windows.
Next
From: Tom Lane
Date:
Subject: pgsql: Ensure that xpath() escapes special characters in string values.