]> granicus.if.org Git - postgresql/commit
Work around reported problem that AIX's getaddrinfo() doesn't seem to zero
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 19 Oct 2006 17:26:51 +0000 (17:26 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 19 Oct 2006 17:26:51 +0000 (17:26 +0000)
commit8df0bcc69652974def6b12848a4639c7f0a81526
tree846d9fe3effe12e3e322a8f0c31e669e95f7b4f8
parent62f9cbf4241732c36e75372932ddcbd8eb01e726
Work around reported problem that AIX's getaddrinfo() doesn't seem to zero
sin_port in the returned IP address struct when servname is NULL.  This has
been observed to cause failure to bind the stats collection socket, and
could perhaps cause other issues too.  Per reports from Brad Nicholson
and Chris Browne.
src/backend/libpq/ip.c