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:43 +0000 (17:26 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 19 Oct 2006 17:26:43 +0000 (17:26 +0000)
commit05f710eb56c6eb8d6d217c65e6b1a6c16766a109
tree8941b0cdf79afe044efb5b3a6e2ead7a3273a369
parentfd3f503e7412f86bb6ae479221fdb3bdf5962d50
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