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