Re: pg_connect sometimes works sometimes not

Поиск
Список
Период
Сортировка
Искать
От
pobox@verysmall.org
Тема
Re: pg_connect sometimes works sometimes not
Дата
Msg-id
46305BC8.9040800@verysmall.org
Ответ на
Список
Дерево обсуждения
pg_connect sometimes works sometimes not "pobox@verysmall.org" <pobox@verysmall.org>
Re: pg_connect sometimes works sometimes not Richard Huxton <dev@archonet.com>
Re: pg_connect sometimes works sometimes not "pobox@verysmall.org" <pobox@verysmall.org>
Re: pg_connect sometimes works sometimes not Martijn van Oosterhout <kleptog@svana.org>
Re: pg_connect sometimes works sometimes not Richard Huxton <dev@archonet.com>
Re: pg_connect sometimes works sometimes not "pobox@verysmall.org" <pobox@verysmall.org>
Re: pg_connect sometimes works sometimes not "pobox@verysmall.org" <pobox@verysmall.org>
Re: pg_connect sometimes works sometimes not Richard Huxton <dev@archonet.com>
Re: pg_connect sometimes works sometimes not "pobox@verysmall.org" <pobox@verysmall.org>
Re: pg_connect sometimes works sometimes not Raymond O'Donnell <rod@iol.ie>
Richard Huxton wrote:
> Did you try pg_last_error()?

pg_last_error() does not seem to work. It requires connection as 
parameter, so if pg_connect() fails - it has nothing to operate on.

Or am I missing something?

> Are you logging connection attempts/failures? Details in the manuals.

Checked the manual, but found only parameter to log the successful 
connections.

Is there such to log the failed connection attempts (incl. the reason)?

Thank you,
Iv
В списке pgsql-general по дате отправления
От: Simon Riggs
Дата:
Сообщение: Re: Vacuum-full very slow
От: Simon Riggs
Дата:
FAQ