OSDN Git Service

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)
commit73852bd520c219051431a74ee511c4f29dd4baf3
tree5c623f77687b32add622555e10de4f3eb0e433a3
parent3f0245cb241e6b500fe9f12c62514cc58eef33fe
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