]> git.ipfire.org Git - thirdparty/postgresql.git/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:17:52 +0000 (20:17 -0400)
commit312116ed7da6cffb51a4c60a619242b0707cb5dc
tree0dc675130f7eb8b7b6c2ca4848a5575f31f8800a
parent83ec831368746163994a1ad7a705749af589f5d9
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