• Heikki Linnakangas's avatar
    Utilize the visibility map in autovacuum, too. There was an oversight in · 7537f52a
    Heikki Linnakangas authored
    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.
    7537f52a
equalfuncs.c 56.4 KB