Skip site navigation (1) Skip section navigation (2)

Re: FE/BE protocol oddity

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: FE/BE protocol oddity
Date: 2001-07-06 19:04:43
Message-ID: Pine.LNX.4.30.0107062102570.679-100000@peter.localdomain (view raw or flat)
Thread:
Lists: 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(at)gmx(dot)net   http://funkturm.homeip.net/~peter


In response to

pgsql-hackers by date

Next:From: VitalinoDate: 2001-07-06 19:12:28
Subject: Problem with authentication in psql.
Previous:From: Gunnar RønningDate: 2001-07-06 18:53:05
Subject: Re: Database Users Management and Privileges

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group