pgsql: Fix some sloppiness in the recent multiple-autovacuum-worker

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix some sloppiness in the recent multiple-autovacuum-worker
Date: 2007-08-03 20:06:51
Message-ID: [email protected]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/postmaster:
postmaster.c (r1.537 -> r1.538)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c.diff?r1=1.537&r2=1.538)

Browse pgsql-committers by date

  From Date Subject
Next Message User Mkz 2007-08-03 22:04:56 pgbouncer - pgbouncer: correct quoting for SET values
Previous Message User Mkz 2007-08-03 12:43:32 pgbouncer - pgbouncer: add varcache.c to makefile also