]> granicus.if.org Git - postgresql/commit
Use correct path separator for Windows builtin commands.
authorAndrew Dunstan <andrew@dunslane.net>
Mon, 3 Sep 2012 22:11:17 +0000 (18:11 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Mon, 3 Sep 2012 22:11:17 +0000 (18:11 -0400)
commitd10ddf4d510a5e366775f9a6bb20d0104ff1bcfd
tree290a62fc03aa9b00764c33f743e3eb864ccf4e00
parent97395185b85b786523ee41225b53bd84c98d34f4
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