Ignore interrupts during quickdie().

Noah Misch <noah@leadboat.com>

Commit: 9553d0f03b17d96af304f767c596dace953c736e
Author: Noah Misch <noah@leadboat.com>
Date: 2013-09-12T00:14:41Z
Releases: 9.0.14
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