Josh Berkus <josh(at)agliodbs(dot)com> writes:
> Under what circumstances should pg_ctl -m fast fail to shut down the database?
One cause was discovered and fixed about two weeks ago:
2003-02-17 21:53 tgl
* src/backend/commands/async.c (REL7_3_STABLE): 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.
regards, tom lane