pgsql: Fix SIGUSR1 handling by unconnected bgworkers

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix SIGUSR1 handling by unconnected bgworkers
Date: 2013-04-10 19:03:09
Message-ID: E1UQ0IX-000661-Qd@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix SIGUSR1 handling by unconnected bgworkers

Latch activity was not being detected by non-database-connected workers; the
SIGUSR1 signal handler which is normally in charge of that was set to SIG_IGN.
Create a simple handler to call latch_sigusr1_handler instead.

Robert Haas (bug report and suggested fix)

Branch
------
master

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

Modified Files
--------------
src/backend/postmaster/postmaster.c | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2013-04-10 19:41:38 pgsql: Update the description for the graphical installers
Previous Message Stefan Kaltenbrunner 2013-04-10 18:46:17 Re: [COMMITTERS] pgsql: Get rid of USE_WIDE_UPPER_LOWER dependency in trigram constructi