Andrew Chernow <ac(at)esilo(dot)com> writes:
> Bruce Momjian wrote:
>> Why would we risk breaking other platforms to avoid an AIX bug? At best
>> we can put a code comment in that section of the code.
> IMO, there is no risk. getaddrinfo allows a NULL second argument on
> every platform I have worked with.
The portability risk is in the "manually set the port" part.
regards, tom lane