]> granicus.if.org Git - postgresql/commit
Fix SIGHUP handling by unconnected bgworkers
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 10 Apr 2013 18:59:45 +0000 (15:59 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 10 Apr 2013 18:59:45 +0000 (15:59 -0300)
commit61a7d576f2a287ef59071da9d9d7a0cd473ed98b
tree8f6727987d71605b6989352b7cdcd5f50e41fc8c
parent6f5b8beb64d481c28a483090d10099c8d619c797
Fix SIGHUP handling by unconnected bgworkers

Add a SignalUnconnectedWorkers() call so that non-database-connected background
workers are also notified when postmaster is SIGHUPped.  Previously, only
database-connected workers were.

Michael Paquier (bug report and fix)
src/backend/postmaster/postmaster.c