Fix some sloppiness in the recent multiple-autovacuum-worker patch. It was
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Aug 2007 20:06:50 +0000 (20:06 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Aug 2007 20:06:50 +0000 (20:06 +0000)
commita3bb438c25b49ab8169167cd7d6e45279dc6f9dd
tree92499bbfe2cd424bafecd5d033618d9d3e56ddfc
parentd28444379ea24680a63255ac2bd2c6669698a05b
Fix some sloppiness in the recent multiple-autovacuum-worker patch.  It was
not bothering to initialize is_autovacuum for regular backends, meaning there
was a significant chance of the postmaster prematurely sending them SIGTERM
during database shutdown.  Also, leaving the cancel key unset for an autovac
worker meant that any client could send it SIGINT, which doesn't sound
especially good either.
src/backend/postmaster/postmaster.c