Ignore interrupts during quickdie().

Noah Misch <noah@leadboat.com>

Commit: 312116ed7da6cffb51a4c60a619242b0707cb5dc
Author: Noah Misch <noah@leadboat.com>
Date: 2013-09-12T00:17:52Z
Releases: 8.4.18
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.

Files

PathChange+/−
src/backend/tcop/postgres.c modified +7 −0