Re: host name support in pg_hba.conf

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: host name support in pg_hba.conf
Дата
Msg-id AANLkTikXVAyv5XUhPqxzsNO7czUz+m2i7hqhLT09aYe+@mail.gmail.com
обсуждение исходный текст
Ответ на Re: host name support in pg_hba.conf  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On Wed, Oct 6, 2010 at 6:21 AM, Magnus Hagander <magnus@hagander.net> wrote:
> It's not common, but i've certainly come across a number of virtual
> machines where localhost resolves (through /etc/hosts) to the machines
> "real" IP rather than 127.0.01, because 127.0.0.1 simply doesn't
> exist.

It's perfectly fine for localhost to resolve to the machine's external
ip address. It would be weird for it to resolve to some other host's
ip address like the vm's host machine. But having 127.0.0.1 not exist
would be positively broken. All kinds of things wouldn't work. Are you
sure about that part?


-- 
greg


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Issues with Quorum Commit
Следующее
От: Robert Haas
Дата:
Сообщение: Re: security hook on table creation