pgsql: Make connect/test1 independent of localhost IPv6.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make connect/test1 independent of localhost IPv6.
Date: 2017-11-11 22:54:13
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Make connect/test1 independent of localhost IPv6.

Since commit 868898739a8da9ab74c105b8349b7b5c711f265a, it has assumed
"localhost" resolves to both ::1 and 127.0.0.1. We gain nothing from
that assumption, and it does not hold in a default installation of Red
Hat Enterprise Linux 5. Back-patch to 9.3 (all supported versions).

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9e61a1a29869992255948c07086c5840b5c0c4f4

Modified Files
--------------
src/interfaces/ecpg/test/connect/test1.pgc | 2 +-
src/interfaces/ecpg/test/expected/connect-test1.c | 2 +-
src/interfaces/ecpg/test/expected/connect-test1.stderr | 7 ++-----
3 files changed, 4 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2017-11-12 21:09:42 pgsql: Don't call pgwin32_message_to_UTF16() without CurrentMemoryConte
Previous Message Noah Misch 2017-11-11 22:29:34 pgsql: Fix connect/test1 expected output.