PQstatus does not seem to work

Поиск
Список
Период
Сортировка
От Juan Backson
Тема PQstatus does not seem to work
Дата
Msg-id 27c25bc40908100941h42461cfdmaf4efeb14e8b646@mail.gmail.com
обсуждение исходный текст
Ответы Re: PQstatus does not seem to work
Re: PQstatus does not seem to work
Список pgsql-general
Hi
 
 I used PQstatus(conn) function to check connection status, but I found that it still returns CONNECTION_OK even after postgres is restarted.  Does anyone know if there is another command that I can use to check connection status?
 
What other solution is available to check whether a connection is still alive?
 
Thanks,
JB

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

Предыдущее
От: "Rodrick Hales"
Дата:
Сообщение: NOTICE: there is no transaction in progress
Следующее
От: Bill Thoen
Дата:
Сообщение: Accessing a database form another database