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)
commit25cdeae26d960275695c127426944b6096335561
tree3735cd1ac97fd5c5c93fc257b66198c839ce4c22
parent81f12a1dea92b4c5a4cb3e0667cd6a66ff3fb91c
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