Re: AIX 4.3 getaddrinfo busted

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: AIX 4.3 getaddrinfo busted
Дата
Msg-id 15786.1232735601@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: AIX 4.3 getaddrinfo busted  (Andrew Chernow <ac@esilo.com>)
Ответы Re: AIX 4.3 getaddrinfo busted  (Andrew Chernow <ac@esilo.com>)
Список pgsql-hackers
Andrew Chernow <ac@esilo.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Automatic view update rules Bernd Helmle
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Hot standby, conflict resolution