Async_NotifyHandler must save and restore ImmediateInterruptOK. Fixes
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 18 Feb 2003 02:53:29 +0000 (02:53 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 18 Feb 2003 02:53:29 +0000 (02:53 +0000)
commitf690acf1044b823edbe85a67f5503a4c111bff2e
tree394df452d1ff39e89eab9f5e8edf1a802f6f33ef
parentbb402a0eca39508002fe6a91c03de68f1362a509
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.
src/backend/commands/async.c