Arrange for SIGINT in autovacuum workers to cancel the current table and
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 29 Jun 2007 17:07:39 +0000 (17:07 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 29 Jun 2007 17:07:39 +0000 (17:07 +0000)
commit10af02b912714a1cb423d100186b43b20142f008
tree4de848c50a809936d05d93a4d6755dd614f19498
parentc786796d0a7931d67a38840d899c4e45ef4c7bf6
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.
src/backend/postmaster/autovacuum.c
src/backend/postmaster/postmaster.c
src/backend/storage/ipc/procarray.c
src/backend/tcop/postgres.c