Re: non blcoking behaviour

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: non blcoking behaviour
Дата
Msg-id 29289.982958524@sss.pgh.pa.us
обсуждение исходный текст
Ответ на non blcoking behaviour  (Erik Hofman <erik@ehofman.com>)
Список pgsql-bugs
Erik Hofman <erik@ehofman.com> writes:
> Probably adding CONNECTION_MADE to PQsendQuery

The code is not broken, but it would be if we changed that.

CONNECTION_MADE is an intermediate state in the nonblocking connection
procedure; it does not entitle you to send a query.  You really
shouldn't be looking at PQstatus anyway, IMHO, until you've gotten a
PGRES_POLLING_OK result from PQconnectPoll.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Stu Coates
Дата:
Сообщение: Re: pg_dump failing on LinuxPPC
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Problem using Postgres 7.0.3 on SCO Unixware 7.1.1