Re: [BUGS] Replication to Postgres 10 on Windows is broken

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] Replication to Postgres 10 on Windows is broken
Дата
Msg-id 16750.1502057837@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] Replication to Postgres 10 on Windows is broken  (Andres Freund <andres@anarazel.de>)
Список pgsql-bugs
Andres Freund <andres@anarazel.de> writes:
> On 2017-08-06 18:04:49 -0400, Tom Lane wrote:
>> io_flag has to be *just* the I/O condition, because we use it in a test
>> after the WaitLatchOrSocket call.

> Hm, right. Wouldn't be particularly consequential,

Yes, it would be.  The entire point of this loop is to avoid blocking
in PQconnectPoll, and that's not guaranteed unless we honor the contract
of only calling it when we've gotten the read-ready or write-ready status
it asked for.
        regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [BUGS] Replication to Postgres 10 on Windows is broken
Следующее
От: Jaimin Pan
Дата:
Сообщение: [BUGS] Error of insert Foreign table with postgres_fdw