pgsql: Fix pg_upgrade test script's line end handling on Windows. - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Fix pg_upgrade test script's line end handling on Windows.
Date
Msg-id E1T9Nem-0000nw-3h@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/216c0e30076aa6abecc6ab013b45e9567fcdff45

Modified Files
--------------
contrib/pg_upgrade/test.sh |    8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Fix pg_upgrade test script's line end handling on Windows.
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Fix line end mishandling in pg_upgrade on Windows.