Skip site navigation (1) Skip section navigation (2)

pgsql: Use correct path separator for Windows builtin commands.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use correct path separator for Windows builtin commands.
Date: 2012-09-03 22:16:14
Message-ID: E1T8ewI-00015q-Ju@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Use correct path separator for Windows builtin commands.

pg_upgrade produces a platform-specific script to remove the old
directory, but on Windows it has not been making sure that the
paths it writes as arguments for rmdir and del use the backslash
path separator, which will cause these scripts to fail.

The fix is backpatched to Release 9.0.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f88ad86fba2a1700c96953ee26ed700f08fa5d7e

Modified Files
--------------
contrib/pg_upgrade/check.c      |   47 +++++++++++++++++++++++++++++++++-----
contrib/pg_upgrade/pg_upgrade.h |    2 +
2 files changed, 42 insertions(+), 7 deletions(-)

pgsql-committers by date

Next:From: Andrew DunstanDate: 2012-09-03 22:16:38
Subject: pgsql: Use correct path separator for Windows builtin commands.
Previous:From: Andrew DunstanDate: 2012-09-03 22:15:48
Subject: pgsql: Use correct path separator for Windows builtin commands.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group