Do not accept interrupts in RESUME_INTERRUPTS() and END_CRIT_SECTION()
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Jan 2002 23:16:22 +0000 (23:16 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 Jan 2002 23:16:22 +0000 (23:16 +0000)
commitf34a3f1c23f3ef9304f962cd8a06b5eecba9e1c5
treeac159af6515c61721ef9d714a438a97f746d74a7
parent538c0d07de032a34ec4ca5b37245ecd1bd7976e7
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.
src/backend/tcop/postgres.c
src/include/miscadmin.h