connection watchdog - Mailing list pgsql-general

From Michael Kichanov
Subject connection watchdog
Date
Msg-id 200210101445.SAA23167@mix.nordlink.ru
Whole thread Raw
Responses Re: connection watchdog  ("Shridhar Daithankar" <shridhar_daithankar@persistent.co.in>)
List pgsql-general
Hi Postgres gurus!

How can I check from C-program whether connection to pgsql
engine still works or already lost?
PQstatus() returns CONNECTION_OK even when backend process is killed
by hands after connection is made.

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

thanx in advance,
mike

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Problem running postgre as a windows NT service
Next
From: "shey sewani"
Date:
Subject: Re: DTOI4 integer out of range