Utilize the visibility map in autovacuum, too. There was an oversight in

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 7537f52a00acb0a2be60a90d9ec384c5935a1695
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2008-12-04T11:42:24Z
Releases: 8.4.0
Utilize the visibility map in autovacuum, too. There was an oversight in
the visibility map patch that because autovacuum always sets
VacuumStmt->freeze_min_age, visibility map was never used for autovacuum,
only for manually launched vacuums. This patch introduces a new scan_all
field to VacuumStmt, indicating explicitly whether the visibility map
should be used, or the whole relation should be scanned, to advance
relfrozenxid. Anti-wraparound vacuums still need to scan all pages.

Files