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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: In pg_upgrade, fix the -l/log option to work on Windows.
Date: 2011-07-20 22:31:36
Message-ID: E1QjfIm-0000UX-O3@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2011-07-20 22:45:01 pgsql: Ensure that xpath() escapes special characters in string values.
Previous Message Bruce Momjian 2011-07-20 20:38:57 pgsql: In pg_upgrade, use pg_strudup(), for consistency.