Improve autovacuum launcher's ability to detect a problem in worker startup,
Alvaro Herrera <alvherre@alvh.no-ip.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/autovacuum.c | modified | +158 −93 |
| src/backend/postmaster/postmaster.c | modified | +24 −21 |
| src/include/postmaster/autovacuum.h | modified | +3 −1 |