pgsql: Remove ill-conceived Assertion in ProcessClientWriteInterrupt().

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Remove ill-conceived Assertion in ProcessClientWriteInterrupt().
Дата
Msg-id E1YImPQ-0007sW-SS@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Remove ill-conceived Assertion in ProcessClientWriteInterrupt().

It's perfectly fine to have blocked interrupts when
ProcessClientWriteInterrupt() is called. In fact it's commonly the
case when emitting error reports. And we deal with that correctly.

Even if that'd not be the case, it'd be a bad location for such a
assertion. Because ProcessClientWriteInterrupt() is only called when
the socket is blocked it's hard to hit.

Per Heikki and buildfarm animals nightjar and dunlin.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3a54f4a4944b849846c5a1494810ea06bd6601b7

Modified Files
--------------
src/backend/tcop/postgres.c |    2 --
1 file changed, 2 deletions(-)


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Remove remnants of ImmediateInterruptOK handling.
Следующее
От: pgsql@postgresql.org
Дата:
Сообщение: pgsql: Tag refs/tags/REL9_2_10 was created