Re: setting Postgres client

Поиск
Список
Период
Сортировка
От Bill Moran
Тема Re: setting Postgres client
Дата
Msg-id 20080919104137.5afc51ab.wmoran@collaborativefusion.com
обсуждение исходный текст
Ответ на setting Postgres client  ("Markova, Nina" <nmarkova@NRCan.gc.ca>)
Список pgsql-general
"Markova, Nina" <nmarkova@NRCan.gc.ca> wrote:
>
> - On the client I tried:
> psql sta
> psql: could not connect to server: No such file or directory
>         Is the server running locally and accepting
>         connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

The client tries to connect to the unix domain socket by default (as
can be seen by the error message)

If your client system and server don't share the same /tmp filesystem,
then that is going to fail, which is expected.  Either specify the
IP address/hostname you want to connect to with -h or put options in
your .psqlrc file or set appropriate environment variables.  More
details here:
http://www.postgresql.org/docs/8.2/static/app-psql.html

--
Bill Moran
Collaborative Fusion Inc.

wmoran@collaborativefusion.com
Phone: 412-422-3463x4023

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

Предыдущее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Query planner issue
Следующее
От: "Markova, Nina"
Дата:
Сообщение: Re: setting Postgres client