Do not accept interrupts in RESUME_INTERRUPTS() and END_CRIT_SECTION()

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 4764ae823b78a602ebfe01a91084c4b1ec931554
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2002-01-01T23:16:22Z
Releases: 7.2.1
Do not accept interrupts in RESUME_INTERRUPTS() and END_CRIT_SECTION()
macros, but only at explicit CHECK_FOR_INTERRUPTS() calls.  Not clear
whether overenthusiastic acceptance of interrupts accounts for any real
bugs, but it definitely seems risky and unnecessary.

Files

PathChange+/−
src/backend/tcop/postgres.c modified +2 −3
src/include/miscadmin.h modified +3 −6