pgsql: Ignore interrupts during quickdie().

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Ignore interrupts during quickdie().
Date: 2013-09-12 00:23:07
Message-ID: E1VJugd-0006Up-D3@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
REL8_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/312116ed7da6cffb51a4c60a619242b0707cb5dc

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2013-09-15 15:02:15 pgsql: Fix typos
Previous Message Andrew Dunstan 2013-09-11 22:15:28 Re: pgsql: Create index on srt table in citext regression tests.