postgresql/src/backend/postmaster
Tom Lane f51ead09df Avoid wholesale autovacuuming when autovacuum is nominally off.
When autovacuum is nominally off, we will still launch autovac workers
to vacuum tables that are at risk of XID wraparound.  But after we'd done
that, an autovac worker would proceed to autovacuum every table in the
targeted database, if they meet the usual thresholds for autovacuuming.
This is at best pretty unexpected; at worst it delays response to the
wraparound threat.  Fix it so that if autovacuum is nominally off, we
*only* do forced vacuums and not any other work.

Per gripe from Andrey Zhidenkov.  This has been like this all along,
so back-patch to all supported branches.
2014-07-30 14:41:35 -04:00
..
autovacuum.c Avoid wholesale autovacuuming when autovacuum is nominally off. 2014-07-30 14:41:35 -04:00
bgworker.c When a background worker exists with code 0, unregister it. 2014-05-07 17:44:42 -04:00
bgwriter.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
checkpointer.c Fix and enhance the assertion of no palloc's in a critical section. 2014-06-30 10:26:00 +03:00
fork_process.c Improve our mechanism for controlling the Linux out-of-memory killer. 2014-06-18 20:12:51 -04:00
Makefile Allow background workers to be started dynamically. 2013-07-16 13:02:15 -04:00
pgarch.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
pgstat.c Smooth reporting of commit/rollback statistics. 2014-07-02 15:20:30 -05:00
postmaster.c Fix mishandling of background worker PGPROCs in EXEC_BACKEND builds. 2014-07-30 11:34:06 -04:00
startup.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
syslogger.c Fix unportable setvbuf() usage in initdb. 2014-05-15 15:57:54 -04:00
walwriter.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00