Re: PQstatus is getting blocked when database sytem powered off
Tom Lane <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.interfaces |
|---|---|
| Message-ID | <[email protected]> |
"Sunil Khatri" <[email protected]> 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 ConnStatusType 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 protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-interfaces