]> 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:41 +0000 (14:33 -0800)
commit65fd34f7cc6c4ab729b93bef55095c0156d7c0d4
treeb391939863a09de6289b89e468172531965bd849
parentdfabce8827e65c3a48051526451c1b514b223ba1
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