Async_NotifyHandler must save and restore ImmediateInterruptOK. Fixes
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/async.c | modified | +18 −1 |