]> granicus.if.org Git - postgresql/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:02 +0000 (14:33 -0800)
commit34baf8a00b018caf7269134cf9b461266e66d9a7
treeee747bca95f947f1381f9c771af8e379b2da4de5
parent4b865aee2582292a42a8e58247a41b46f5aa8a82
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