Is there a way to check if a db connection handle is still valid?

Поиск
Список
Период
Сортировка
От Antai Ning
Тема Is there a way to check if a db connection handle is still valid?
Дата
Msg-id F72CDFC92CAA204A9BE73476EED3821D015E62@JETMAIL
обсуждение исходный текст
Ответы Re: Is there a way to check if a db connection handle is still valid?  (Thomas Quinot <thomas@cuivre.fr.eu.org>)
Список pgsql-general
<p><font size="2">Hi there,</font><p><font size="2">Is there a way to check if a db connection handle is still
availble?My db program need to run forever and I found that if one insertion fails, the handle seems crashed. Then when
thenext insertion using the same handle will kill the whole program.</font><p><font size="2">Thanks in
advance!</font><p><fontsize="2">Andy </font> 

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: horrendous query challenge :-)
Следующее
От: Thomas Quinot
Дата:
Сообщение: Re: Is there a way to check if a db connection handle is still valid?