pgsql: Improve autovacuum launcher's ability to detect a problem in

From: alvherre(at)postgresql(dot)org (Alvaro Herrera)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve autovacuum launcher's ability to detect a problem in
Date: 2007-06-25 16:09:03
Message-ID: 20070625160903.9FCA99FB682@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Modified Files:
--------------
pgsql/src/backend/postmaster:
autovacuum.c (r1.50 -> r1.51)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/autovacuum.c.diff?r1=1.50&r2=1.51)
postmaster.c (r1.527 -> r1.528)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c.diff?r1=1.527&r2=1.528)
pgsql/src/include/postmaster:
autovacuum.h (r1.10 -> r1.11)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/postmaster/autovacuum.h.diff?r1=1.10&r2=1.11)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2007-06-25 17:12:07 pgsql: Remove unused BAD_LOCATION definition.
Previous Message Tom Lane 2007-06-23 22:12:52 pgsql: Separate parse-analysis for utility commands out of