| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера