]> granicus.if.org Git - postgresql/commit
Improve autovacuum launcher's ability to detect a problem in worker startup,
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 25 Jun 2007 16:09:03 +0000 (16:09 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 25 Jun 2007 16:09:03 +0000 (16:09 +0000)
commitbae0b56880f5187c3e75bb8bcb4f04da6b6bbc4f
tree3bcb1f7764e9c297b347a7b2ee2bfa0bd2e10a3e
parent46379d6e60f0f95e127a5045ca1fa74dfdc48a85
Improve autovacuum launcher's ability to detect a problem in worker startup,
by having the postmaster signal it when certain failures occur.  This requires
the postmaster setting a flag in shared memory, but should be as safe as the
pmsignal.c code is.

Also make sure the launcher honor's a postgresql.conf change turning it off
on SIGHUP.
src/backend/postmaster/autovacuum.c
src/backend/postmaster/postmaster.c
src/include/postmaster/autovacuum.h