]> granicus.if.org Git - postgresql/commit
Clean up IPv4 vs IPv6 bogosity in connectFailureMessage().
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 27 Nov 2010 00:16:39 +0000 (19:16 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 27 Nov 2010 00:16:39 +0000 (19:16 -0500)
commitbe3b666eb810089fd9a1d42e3888be52ab9ddb63
tree22af58b067fdbf48e64ef103a16747de00a86f9a
parent3840bc0847aa1b635127ff4a55b5257c9ebc79b8
Clean up IPv4 vs IPv6 bogosity in connectFailureMessage().

Newly added code was supposing that "struct sockaddr_in" applies to IPv6.
src/interfaces/libpq/fe-connect.c