checking connecton

Поиск
Список
Период
Сортировка
От Michael Kichanov
Тема checking connecton
Дата
Msg-id 200210092011.AAA12490@mix.nordlink.ru
обсуждение исходный текст
Список pgsql-general
Hi All!

Help me please postgres guru!

How can I check from libpq C client program whether connection to pgsql
engine is still work or already lost?
PQstatus() returns CONNECTION_OK even if backend process is killed
after PQsetdb().

ps: Searching through pgsql-mail-lists archive and Faq give nothing.

thanx in advance,
mike

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

Предыдущее
От: "Roberto (SmartBit)"
Дата:
Сообщение: Asta with PostgreSQL
Следующее
От: Herbie Liechti
Дата:
Сообщение: Re: odbc with debian woody/postgres