]> 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:25 +0000 (14:33 -0800)
commit3c80348d24914d9ddf65d56d2c343a7f2b820705
tree26392cef3b7436231a5ccd4def5bc6d20d6238de
parent742471ef978c95443c8fd96118360d88b57a30fc
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