postgresql/src/backend
Tom Lane 4cbecdaaac 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:49 -04:00
..
access Treat 2PC commit/abort the same as regular xacts in recovery. 2014-07-29 11:57:52 +03:00
bootstrap Revert "Fix bogus %name-prefix option syntax in all our Bison files." 2014-05-28 19:28:37 -04:00
catalog Fix REASSIGN OWNED for text search objects 2014-07-15 13:24:07 -04:00
commands Reject out-of-range numeric timezone specifications. 2014-07-21 22:41:27 -04:00
executor Fix bug with whole-row references to append subplans. 2014-07-11 19:12:42 -04:00
foreign Arrange to cache FdwRoutine structs in foreign tables' relcache entries. 2013-03-06 23:48:09 -05:00
lib Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
libpq Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
main Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
nodes Partial fix for dropped columns in functions returning composite. 2014-07-19 14:29:05 -04:00
optimizer Re-enable error for "SELECT ... OFFSET -1". 2014-07-22 13:30:14 -04:00
parser Revert "Fix bogus %name-prefix option syntax in all our Bison files." 2014-05-28 19:28:37 -04:00
po Translation updates 2014-07-21 01:04:46 -04:00
port Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
postmaster Avoid wholesale autovacuuming when autovacuum is nominally off. 2014-07-30 14:41:49 -04:00
regex Fix two low-probability memory leaks in regular expression parsing. 2014-07-18 13:00:43 -04:00
replication Revert "Fix bogus %name-prefix option syntax in all our Bison files." 2014-05-28 19:28:37 -04:00
rewrite Add some errdetail to checkRuleResultList(). 2014-07-02 14:20:34 -04:00
snowball Fix ancient encoding error in hungarian.stop. 2014-06-10 22:48:39 -04:00
storage Avoid access to already-released lock in LockRefindAndRelease. 2014-07-24 08:26:06 -04:00
tcop Set the process latch when processing recovery conflict interrupts. 2014-06-03 14:13:31 +02:00
tsearch Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
utils Partial fix for dropped columns in functions returning composite. 2014-07-19 14:29:05 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Call check_keywords.pl in maintainer-check 2012-02-27 13:53:12 +02:00
Makefile Move relpath() to libpgcommon 2013-02-21 22:46:17 -03:00
nls.mk Add libpgcommon to backend gettext source files 2013-10-21 06:20:05 -04:00