Re: FE/BE protocol oddity - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: FE/BE protocol oddity
Date
Msg-id Pine.LNX.4.30.0107062102570.679-100000@peter.localdomain
Whole thread Raw
In response to Re: FE/BE protocol oddity  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane writes:

> I think you can use the conn->status field; you shouldn't need a new
> flag, just test whether status is CONNECTION_OK or not.

You're right.  I was confused by the comment

/* Non-blocking mode only below here */

in the definition of ConnStatusType, thinking that the non-blocking mode
was using some of the intermediate states.  I'll change it momentarily.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



pgsql-hackers by date:

Previous
From: Gunnar Rønning
Date:
Subject: Re: Database Users Management and Privileges
Next
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] Vacuum and Transactions