pgsql: Arrange for SIGINT in autovacuum workers to cancel the current

From: alvherre(at)postgresql(dot)org (Alvaro Herrera)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Arrange for SIGINT in autovacuum workers to cancel the current
Date: 2007-06-29 17:07:40
Message-ID: 20070629170740.504AF9FB349@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Arrange for SIGINT in autovacuum workers to cancel the current table and
continue with the schedule. Change current uses of SIGINT to abort a worker
into SIGTERM, which keeps the old behaviour of terminating the process.

Patch from ITAGAKI Takahiro, with some editorializing of my own.

Modified Files:
--------------
pgsql/src/backend/postmaster:
autovacuum.c (r1.51 -> r1.52)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/autovacuum.c.diff?r1=1.51&r2=1.52)
postmaster.c (r1.528 -> r1.529)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c.diff?r1=1.528&r2=1.529)
pgsql/src/backend/storage/ipc:
procarray.c (r1.26 -> r1.27)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/ipc/procarray.c.diff?r1=1.26&r2=1.27)
pgsql/src/backend/tcop:
postgres.c (r1.534 -> r1.535)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/tcop/postgres.c.diff?r1=1.534&r2=1.535)

Browse pgsql-committers by date

  From Date Subject
Next Message User Pgunittest 2007-06-29 23:31:42 pgunittest - pgUnitTest:
Previous Message Tom Lane 2007-06-29 16:18:52 pgsql: Fix computation of PG_VERSION_NUM by configure: remove