]> granicus.if.org Git - postgresql/commit
Fix pg_upgrade test script's line end handling on Windows.
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 5 Sep 2012 22:00:31 +0000 (18:00 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 5 Sep 2012 22:00:31 +0000 (18:00 -0400)
commitf8f5cf33a30a2f6eeeb839ce92cb6ee04b518c5a
treecd2e8d1209f97750ec642fcfb2e960fd4472c12d
parentea0b414a0d9caaad1b7f39acd57708895c4dd0f3
Fix pg_upgrade test script's line end handling on Windows.

Call pg_dumpall using -f switch instead of redirection, to avoid
writing the output in text mode and generating spurious carriage
returns. Remove to carriage return ignoring hack introduced by
commit e442b0f0c6fd26738bafdeb5222511b586dfe4b9.

Backpatch to 9.2.
contrib/pg_upgrade/test.sh