Async_NotifyHandler must save and restore ImmediateInterruptOK. Fixes

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

Commit: c89000f34637c3b7e25b8da00cb5c729e86a8c53
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-02-18T02:53:46Z
Releases: 7.3.3
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