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

Поиск
Список
Период
Сортировка
От Thomas Quinot
Тема Re: Is there a way to check if a db connection handle is still valid?
Дата
Msg-id 20020530224036.A72216@melusine.cuivre.fr.eu.org
обсуждение исходный текст
Ответ на Is there a way to check if a db connection handle is still valid?  (Antai Ning <aning@jetnet.ca>)
Список pgsql-general
You could probably try a query like 'SELECT 1;' and see if it succeeds.

Thomas.

--
    Thomas.Quinot@Cuivre.FR.EU.ORG

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

Предыдущее
От: Antai Ning
Дата:
Сообщение: Is there a way to check if a db connection handle is still valid?
Следующее
От: Laurette Cisneros
Дата:
Сообщение: Re: timestamp