pgsql: Ignore interrupts during quickdie(). - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Ignore interrupts during quickdie().
Date
Msg-id E1VJugd-0006Ug-95@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/4392db8df17188e0163306b6e63822d739deb911

Modified Files
--------------
src/backend/tcop/postgres.c |    7 +++++++
1 file changed, 7 insertions(+)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Create index on srt table in citext regression tests.
Next
From: Noah Misch
Date:
Subject: pgsql: Ignore interrupts during quickdie().