connection watchdog

From: Michael Kichanov <mike(at)nordlink(dot)ru>
To: pgsql-general(at)postgresql(dot)org
Subject: connection watchdog
Date: 2002-10-10 14:45:18
Message-ID: 200210101445.SAA23167@mix.nordlink.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message shey sewani 2002-10-10 14:45:48 Re: DTOI4 integer out of range
Previous Message Joe Conway 2002-10-10 14:45:08 Re: encryption