You are right PQstatus is not blocking, query-issuing call is getting
Is there any way for handling this blocking situation?
----- Original Message -----
From: "Tom Lane" <firstname.lastname@example.org>
To: "Sunil Khatri" <email@example.com>
Sent: Tuesday, July 22, 2008 10:58 PM
Subject: Re: [INTERFACES] PQstatus is getting blocked when database sytem
> "Sunil Khatri" <firstname.lastname@example.org> writes:
>> Problem is : PQstatus is getting blocked If the system on which database
>> server is running is powered off.
> Hardly likely, considering that PQstatus is just
> PQstatus(const PGconn *conn)
> if (!conn)
> return CONNECTION_BAD;
> return conn->status;
> I have no doubt that a query-issuing call could get blocked if the
> postmaster stops responding, but not PQstatus.
> regards, tom lane
> Sent via pgsql-interfaces mailing list (email@example.com)
> To make changes to your subscription:
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.524 / Virus Database: 270.5.3/1565 - Release Date: 7/21/2008
> 6:36 PM
Sent via pgsql-interfaces mailing list (firstname.lastname@example.org)
To make changes to your subscription: