]> granicus.if.org Git - postgresql/commit
Ignore interrupts during quickdie().
authorNoah Misch <noah@leadboat.com>
Thu, 12 Sep 2013 00:10:15 +0000 (20:10 -0400)
committerNoah Misch <noah@leadboat.com>
Thu, 12 Sep 2013 00:14:29 +0000 (20:14 -0400)
commitf0d76a515e88a2709e23693c2f9cfb979063dfe2
tree06237843511ee3c96a4090a5ac54d8d909e524c0
parent994362a317ced987b6ea616b236c402d715ddcd5
Ignore interrupts during quickdie().

Once the administrator has called for an immediate shutdown or a backend
crash has triggered a reinitialization, no mere SIGINT or SIGTERM should
change that course.  Such derailment remains possible when the signal
arrives before quickdie() blocks signals.  That being a narrow race
affecting most PostgreSQL signal handlers in some way, leave it for
another patch.  Back-patch this to all supported versions.
src/backend/tcop/postgres.c