]> granicus.if.org Git - postgresql/commit
Fix SIGUSR1 handling by unconnected bgworkers
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 10 Apr 2013 19:01:16 +0000 (16:01 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 10 Apr 2013 19:01:16 +0000 (16:01 -0300)
commitf62ab623adc63023c6aee22e2a6fe190439ca0c3
tree3ce329709f455641b86b95a8ce03e2f24cf83962
parent61a7d576f2a287ef59071da9d9d7a0cd473ed98b
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)
src/backend/postmaster/postmaster.c