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-0000UX-O3@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
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/431b7b84fe0fb830499561a31021932550817a8e

Modified Files
--------------
contrib/pg_upgrade/pg_upgrade.c |   44 ++++++++++++++++++++++++++++++++------
1 files changed, 37 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: In pg_upgrade, use pg_strudup(), for consistency.
Next
From: Bruce Momjian
Date:
Subject: pgsql: In pg_upgrade, fix the -l/log option to work on Windows.