Re: [HACKERS] PostgreSQL 8.0.3 and Ipv6

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] PostgreSQL 8.0.3 and Ipv6
Дата
Msg-id 5303.1124672184@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] PostgreSQL 8.0.3 and Ipv6  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: [HACKERS] PostgreSQL 8.0.3 and Ipv6  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-patches
Andrew Dunstan <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> If you like, you can improve initdb to comment that line out if
>> getaddrinfo chokes on "::1", rather than believing HAVE_IPV6.

> Good idea. Here's a patch for that. Rather than commenting it out I used
> the slightly newer initdb facility to remove it and the associated
> comment line altogether.

Hm, is that really better than just commenting it out?  Particularly
on Windows, where we could imagine someone installing a newer version
of the relevant DLL and then wanting to use IPv6.  Seems to me that
leaving the line present but commented out is the right thing, because
it documents how things should look for IPv6.

            regards, tom lane

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

Предыдущее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: PL/Perl embedding string common elements
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [HACKERS] PostgreSQL 8.0.3 and Ipv6