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   [EMAIL PROTECTED]   http://funkturm.homeip.net/~peter


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://www.postgresql.org/search.mpl

Reply via email to