Re: IPv6 patch

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: IPv6 patch
Дата
Msg-id Pine.LNX.4.44.0301062002520.8249-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: IPv6 patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: IPv6 patch  (Greg Copeland <greg@CopelandConsulting.Net>)
Re: IPv6 patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian writes:

> Patch applied.  I added a small mention of IPv6 addresses to the
> pg_hba.conf documentation.  Not sure where else to mention it.

Can this patch please be cleaned up so the code doesn't contain an #ifdef
on every other line?

I would also like to discuss how IPv6 is handled during the server start
and in pg_hba.conf.  It seems that we should treat the address families
Unix, IPv4, and IPv6 consistenly, which would mean two things:

(1) pg_hba.conf entries pertaining to the address family are allowed and
present in the default file, no matter whether the address family is used
by the server.

(2) A socket type is explicitly enabled for the server to use, and if
creation fails, server startup fails.  It seems that the current code
falls back to IPv4 if IPv6 fails.

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Vince Vielhaber
Дата:
Сообщение: Re: New Portal in Place, DNS switched ...
Следующее
От: Greg Copeland
Дата:
Сообщение: Re: IPv6 patch