]> granicus.if.org Git - postgresql/commit
Use correct path separator for Windows builtin commands.
authorAndrew Dunstan <andrew@dunslane.net>
Mon, 3 Sep 2012 22:14:06 +0000 (18:14 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Mon, 3 Sep 2012 22:14:06 +0000 (18:14 -0400)
commit4397c51816cbb918fc3aebc474dd53bc231502b9
tree2fb5f66d8a58394b9651c02af562a429b35a1ee7
parent1da2a610d7e791e93fcf835855badaeb11196bdd
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.
contrib/pg_upgrade/check.c
contrib/pg_upgrade/pg_upgrade.h