Re: FreeBSD Thread-safe functions ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: FreeBSD Thread-safe functions ...
Дата
Msg-id 12662.1063676989@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: FreeBSD Thread-safe functions ...  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> Hm.  A quick grep shows that our *only* use of gethostbyname is in
>> src/port/getaddrinfo.c.  Seems like we should omit this "porting
>> requirement" on platforms that have getaddrinfo.

> See the post I just made --- fe-secure.c calls pqGethostbyname(), and
> that should be converted to getaddrinfo

No, it should be diked out.  The call you are referring to is in code
that is #ifdef NOT_USED.  The whole routine is pretty broken anyway (not
IPv6-aware, for starters) and I think we should just rip it out rather
than try to bring it up to speed.
        regards, tom lane


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

Предыдущее
От: Gavin Sherry
Дата:
Сообщение: Re: LISTEN and "tuple concurrently updated"
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Error compiling timestamp.c in 7.4