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

From Andres Freund
Subject pgsql: Remove ill-conceived Assertion in ProcessClientWriteInterrupt().
Date
Msg-id E1YImPQ-0007sW-SS@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Remove remnants of ImmediateInterruptOK handling.
Next
From: pgsql@postgresql.org
Date:
Subject: pgsql: Tag refs/tags/REL9_2_10 was created