| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера