Peter Eisentraut <[EMAIL PROTECTED]> writes:
> I guess there is sort of a point there.  So I'm leaning towards adding a
> "startup complete" flag somewhere in PGconn and simply fix up
> closePGconn().

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.

> Seriously, in the worst case we'll get EINVAL.

So you'll just ignore an error?  Okay, that'll probably work.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to