pgsql: Fix pq_putmessage_noblock() to not block.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix pq_putmessage_noblock() to not block.
Дата
Msg-id E1bTB24-0005mA-9k@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix pq_putmessage_noblock() to not block.

An evident copy-and-pasteo in commit 2bd9e412f broke the non-blocking
aspect of pq_putmessage_noblock(), causing it to behave identically to
pq_putmessage().  That function is nowadays used only in walsender.c,
so that the net effect was to cause walsenders to hang up waiting for
the receiver in situations where they should not.

Kyotaro Horiguchi

Patch: <20160728.185228.58375982.horiguchi.kyotaro@lab.ntt.co.jp>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/80b346c2084928c11b6f9e495a7e9d559d96703d

Modified Files
--------------
src/include/libpq/libpq.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix pq_putmessage_noblock() to not block.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix tqueue.c's range-remapping code.