]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Make connect/test1 independent of localhost IPv6.
authorNoah Misch <noah@leadboat.com>
Sat, 11 Nov 2017 22:33:02 +0000 (14:33 -0800)
committerNoah Misch <noah@leadboat.com>
Sat, 11 Nov 2017 22:33:22 +0000 (14:33 -0800)
commit9e61a1a29869992255948c07086c5840b5c0c4f4
tree68c133d44f2b842f44e5a8af243ee0d70c730d2a
parent075ced2a4c09fad1a27ec545ab632cf1504e534f
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).
src/interfaces/ecpg/test/connect/test1.pgc
src/interfaces/ecpg/test/expected/connect-test1.c
src/interfaces/ecpg/test/expected/connect-test1.stderr