]> granicus.if.org Git - postgresql/commit
In pg_upgrade, fix the -l/log option to work on Windows.
authorBruce Momjian <bruce@momjian.us>
Wed, 20 Jul 2011 22:31:03 +0000 (18:31 -0400)
committerBruce Momjian <bruce@momjian.us>
Wed, 20 Jul 2011 22:31:03 +0000 (18:31 -0400)
commit17a16eeb7c4fd0c6dce80521247a20d76706b2bb
tree5aa8f8b250be100357aea66d3313c6b773f280e8
parent6b43fddee4cbc1bca71546e15e898d19bee7bcb1
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.
contrib/pg_upgrade/check.c
contrib/pg_upgrade/option.c
contrib/pg_upgrade/pg_upgrade.c
contrib/pg_upgrade/pg_upgrade.h
contrib/pg_upgrade/server.c