pgsql: Fix SIGUSR1 handling by unconnected bgworkers
pgsql: Fix SIGUSR1 handling by unconnected bgworkers
От:
Alvaro Herrera <alvherre@alvh.no-ip.org>
Дата:
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(-)