Re: FreeBSD Thread-safe functions ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: FreeBSD Thread-safe functions ...
Дата
Msg-id 2577.1063594889@sss.pgh.pa.us
обсуждение исходный текст
Ответ на FreeBSD Thread-safe functions ...  ("Marc G. Fournier" <scrappy@hub.org>)
Ответы Re: FreeBSD Thread-safe functions ...  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
"Marc G. Fournier" <scrappy@hub.org> writes:
> FreeBSD 5.x has a getpwuid_r function that should be used ... and, the
> word I got from one of the developers was that getaddrinfo(3) should be
> used instead of gethostbyname ...

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.
        regards, tom lane


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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: FreeBSD Thread-safe functions ...
Следующее
От: Bruce Momjian
Дата:
Сообщение: getaddrinfo() for threading instead of gethostbyname()