Skip site navigation (1) Skip section navigation (2)

pgsql: Fix pg_upgrade test script's line end handling on Windows.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix pg_upgrade test script's line end handling on Windows.
Date: 2012-09-05 22:00:54
Message-ID: E1T9NeY-0000nH-17@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f8f5cf33a30a2f6eeeb839ce92cb6ee04b518c5a

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

pgsql-committers by date

Next:From: Andrew DunstanDate: 2012-09-05 22:01:08
Subject: pgsql: Fix pg_upgrade test script's line end handling on Windows.
Previous:From: Andrew DunstanDate: 2012-09-05 21:51:10
Subject: pgsql: Fix line end mishandling in pg_upgrade on Windows.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group