Remove ill-conceived Assertion in ProcessClientWriteInterrupt().
authorAndres Freund <andres@anarazel.de>
Tue, 3 Feb 2015 22:52:15 +0000 (23:52 +0100)
committerAndres Freund <andres@anarazel.de>
Tue, 3 Feb 2015 22:52:15 +0000 (23:52 +0100)
commit3a54f4a4944b849846c5a1494810ea06bd6601b7
treea58e11642d8e9acad5afa4fdd842d53352d8650c
parent2505ce0be0b686c5a0a5141e9d080e7fdc35988a
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.
src/backend/tcop/postgres.c