git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 2505ce0) | patch
Remove ill-conceived Assertion in ProcessClientWriteInterrupt().
Tue, 3 Feb 2015 22:52:15 +0000 (23:52 +0100)
Tue, 3 Feb 2015 22:52:15 +0000 (23:52 +0100)
commit 3a54f4a4944b849846c5a1494810ea06bd6601b7
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 diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /