]> granicus.if.org Git - postgresql/commit
Change the autovacuum launcher to read pg_database directly, rather than
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 Aug 2009 19:41:00 +0000 (19:41 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 Aug 2009 19:41:00 +0000 (19:41 +0000)
commit00e6a16d01683762c2f34eb4909fc739093ab3bf
tree85cce02119a1bbfb8d43b3abdfe6e98b330fadfb
parent25ec228ef760eb91c094cc3b6dea7257cc22ffb5
Change the autovacuum launcher to read pg_database directly, rather than
via the "flat files" facility.  This requires making it enough like a backend
to be able to run transactions; it's no longer an "auxiliary process" but
more like the autovacuum worker processes.  Also, its signal handling has
to be brought into line with backends/workers.  In particular, since it
now has to handle procsignal.c processing, the special autovac-launcher-only
signal conditions are moved to SIGUSR2.

Alvaro, with some cleanup from Tom
src/backend/postmaster/autovacuum.c
src/backend/postmaster/postmaster.c
src/backend/storage/lmgr/proc.c
src/backend/utils/init/globals.c
src/backend/utils/init/postinit.c
src/backend/utils/misc/guc.c
src/include/postmaster/autovacuum.h
src/include/storage/proc.h