Re: freeaddrinfo2 changes.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: freeaddrinfo2 changes.
Дата
Msg-id 18560.1055179509@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: freeaddrinfo2 changes.  (Kurt Roeckx <Q@ping.be>)
Список pgsql-hackers
Kurt Roeckx <Q@ping.be> writes:
>> If this is broken then it's probably not the only problem --- we rely on
>> sa.sa_family in other places.

> sa.sa_family is not the problem itself, the problem is that if
> you use getaddrinfo with AF_UNSPEC, you can get more than replies
> with more than 1 address family. You will get atleast AF_INET,
> AF_INET6 if they exist for what you request, and maybe AF_UNIX or
> even others.

Oh, I see --- the problem is to tell the difference between an AF_UNIX
addrinfo built by getaddrinfo_unix and one returned by the system's
getaddrinfo.  Okay.
        regards, tom lane


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

Предыдущее
От: Kurt Roeckx
Дата:
Сообщение: Re: freeaddrinfo2 changes.
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Proposal to Re-Order Postgresql.Conf, part II