Re: Running postgresql on localhost

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Running postgresql on localhost
Дата
Msg-id 23244.1083127902@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Running postgresql on localhost  (chrisstrachan@msn.com (chrisstrachan_at_msn.com))
Список pgsql-novice
chrisstrachan@msn.com (chrisstrachan_at_msn.com) writes:
> I can currently log in fine to psql like so,
> #psql template1 -p 5432
> this by default logs you into the local socket but unfortuanately it
> does not work when I try
> #psql template1 -h localhost
> psql: unknown host name: localhost

You have a broken name lookup setup --- either /etc/hosts is wrong,
or you've misconfigured DNS, or quite likely both.  It's not
Postgres-specific.

            regards, tom lane

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

Предыдущее
От: joseph speigle
Дата:
Сообщение: Re: opening postgresql first time
Следующее
От: Tom Lane
Дата:
Сообщение: Re: libpg date/timestamps format used by PQgetvalue