Thread: pgsql: Work around reported problem that AIX's getaddrinfo() doesn't

pgsql: Work around reported problem that AIX's getaddrinfo() doesn't

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
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.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/libpq:
        ip.c (r1.32.2.1 -> r1.32.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/ip.c.diff?r1=1.32.2.1&r2=1.32.2.2)