Re:

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re:
Дата
Msg-id 4EBC6986.20506@ringerc.id.au
обсуждение исходный текст
Ответ на  ("daflmx" <daflmx@qq.com>)
Список pgsql-general
On 11/10/2011 05:04 PM, daflmx wrote:

Is the server running locally and accepting connections on Unix domain socket"/var/run/postgresql/.s.PGSQL.5432"?

Well?

Does the socket file exist?

Is PostgreSQL configured to use a different socket - perhaps in /tmp - in postgresql.conf?

I'm guessing you're using `psql' from your OS's packages, which expects to find the PostgreSQL socket in /var/run/postgresql/ , but a PostgreSQL server you installed yourself that puts its socket in /tmp or somewhere else.

Note that you should still be able to connect with `-H localhost' to use TCP/IP rather than unix domain sockets.

--
Craig Ringer

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: (bez temata)
Следующее
От: Tarlika Elisabeth Schmitz
Дата:
Сообщение: Re: PL/pgSQL: SELECT INTO variables - no result