Re: IPV4 addresses on IPV6 machines in pg_hba.conf

Поиск
Список
Период
Сортировка
От Kurt Roeckx
Тема Re: IPV4 addresses on IPV6 machines in pg_hba.conf
Дата
Msg-id 20030904164720.GA10491@ping.be
обсуждение исходный текст
Ответ на IPV4 addresses on IPV6 machines in pg_hba.conf  (Andreas Pflug <pgadmin@pse-consulting.de>)
Ответы Re: IPV4 addresses on IPV6 machines in pg_hba.conf
Список pgsql-patches
On Wed, Sep 03, 2003 at 07:19:16PM +0200, Andreas Pflug wrote:
> This was discussed in [HACKERS] TCP/IP with 7.4 beta2 broken?
>
>
> I created a patch to hba.c which uses IPV4 entries as IPV6 entries if
> running on a IPV6 system (which is detected from a port coming in as
> AF_INET6).
>

You're assuming all systems have an AF_INET6 constant, which is
not the case.  Please make use of HAVE_IPV6.

Can't directly see anything else wrong with it.


Kurt


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] [BUGS] 7.4 beta 1: SET log_statement=false
Следующее
От: Janko Richter
Дата:
Сообщение: PgSQL74b2: initdb fails (max_connections)