Async_NotifyHandler must save and restore ImmediateInterruptOK. Fixes

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

Commit: 40faf433b0fff7b8e9cad861c0b5366c981ad817
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-03-13T23:44:07Z
Releases: 7.2.5
Async_NotifyHandler must save and restore ImmediateInterruptOK.  Fixes
known problem with failure to respond to 'pg_ctl stop -m fast', and
probable problems if SIGINT or SIGTERM arrives while processing a
SIGUSR2 interrupt that arrived while waiting for a new client query.

Files

PathChange+/−
src/backend/commands/async.c modified +18 −1