Re: FE/BE protocol oddity

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: FE/BE protocol oddity
Дата
Msg-id
Pine.LNX.4.30.0107062102570.679-100000@peter.localdomain
Ответ на
Список
Дерево обсуждения
FE/BE protocol oddity Peter Eisentraut <peter_e@gmx.net>
Re: FE/BE protocol oddity Tom Lane <tgl@sss.pgh.pa.us>
Re: FE/BE protocol oddity Peter Eisentraut <peter_e@gmx.net>
Re: FE/BE protocol oddity Tom Lane <tgl@sss.pgh.pa.us>
Re: FE/BE protocol oddity Peter Eisentraut <peter_e@gmx.net>
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 по дате отправления
От: Gunnar Rønning
Дата:
От: Bruce Momjian
Дата:
FAQ