Thread: pgsql: Ignore interrupts during quickdie().

pgsql: Ignore interrupts during quickdie().

From
Noah Misch
Date:
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d41cb869aad493178777b6e6e8d1425535349acb

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