pg_getaddrinfo_all() with hintp=NULL

Поиск
Список
Период
Сортировка
От Sergey Tatarintsev
Тема pg_getaddrinfo_all() with hintp=NULL
Дата
Msg-id 1e5efc94-407e-40b8-8b10-4d25f823c6d7@postgrespro.ru
обсуждение исходный текст
Ответы Re: pg_getaddrinfo_all() with hintp=NULL
Список pgsql-hackers

Hi!

I'm trying to use pg_getaddrinfo_all() with NULL hints, but got segfault.

According to man(3) getaddrinfo, hints may be passed as NULL. In this case af_family

is equivalent to AF_UNSPEC. I'm adding a patch to pg_getaddrinfo_all() to make it available by passing hintp as NULL.

p, li { white-space: pre-wrap; }

-- 
With best regards,
Sergey Tatarintsev, 
PostgresPro
Вложения

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