]> 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:41 +0000 (20:14 -0400)
commit9553d0f03b17d96af304f767c596dace953c736e
tree89457d2adb1d2af465ceb0a9b082ca2371a8d633
parent994f68d15b8c622eeda77675121861d1c9b7d34d
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