Re: host name support in pg_hba.conf
От | Joachim Wieland |
---|---|
Тема | Re: host name support in pg_hba.conf |
Дата | |
Msg-id | AANLkTinZ7Q=8Nzu9bY8GMz-fqSLWTK2v_8WjcsfzXKeJ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: host name support in pg_hba.conf (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: host name support in pg_hba.conf
|
Список | pgsql-hackers |
On Tue, Oct 5, 2010 at 3:41 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
This is exactly what I am seeing here. However contrary to your case the patch makes it even worse on my side. With the patch compiled in and a pg_hba.conf entry of "localhost", I cannot connect anymore to "-h localhost", I get "no pg_hba.conf entry for host ::1".
This is mostly standard Ubuntu setup.
Joachim
The reason why I think this is semi-important and not just cosmetic is
that (for some reason that is not entirely clear to me) clients
connecting to localhost end up appearing to the server as ::1 on a lot
of machines I use which are not otherwise keen on IPv6, and it is a
common mistake to forget to keep the pg_hba.conf entries for 127.0.0.1
and ::1 in sync.
This is exactly what I am seeing here. However contrary to your case the patch makes it even worse on my side. With the patch compiled in and a pg_hba.conf entry of "localhost", I cannot connect anymore to "-h localhost", I get "no pg_hba.conf entry for host ::1".
This is mostly standard Ubuntu setup.
Joachim
В списке pgsql-hackers по дате отправления: