From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Andrew Chernow <ac(at)esilo(dot)com> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: AIX 4.3 getaddrinfo busted |
Date: | 2009-01-23 18:33:21 |
Message-ID: | 15786.1232735601@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Andrew Chernow <ac(at)esilo(dot)com> writes:
> Tom Lane wrote:
>> BTW, what about the comments in ip.c to the effect that some versions of
>> AIX fail when getaddrinfo's second argument *is* null?
> For starters, it indicates that sin_port is not zero'd properly. That
> wouldn't matter here since the plan is to manually set the port in this
> case, since providing it to getaddrinfo is broken.
Hmm ... so actually we could get *rid* of that special case if we added
this one. Okay, I withdraw the complaint. We should simply not rely on
getaddrinfo to do anything right at all w.r.t. the port if we are
running on AIX. Pass NULL for servname and set the port ourselves in
all cases.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2009-01-23 18:36:56 | Re: Hot standby, conflict resolution |
Previous Message | Tom Lane | 2009-01-23 18:28:27 | Re: [COMMITTERS] pgsql: Automatic view update rules Bernd Helmle |