@@ -512,7 +512,7 @@ heap_vacuum_rel(Relation rel, VacuumParams *params,
512512vacrel -> FreezeLimit = FreezeLimit ;
513513/* MultiXactCutoff controls MXID freezing (always <= OldestMxact) */
514514vacrel -> MultiXactCutoff = MultiXactCutoff ;
515- /* Initialize state used to track oldest extant XID/XMID */
515+ /* Initialize state used to track oldest extant XID/MXID */
516516vacrel -> NewRelfrozenXid = OldestXmin ;
517517vacrel -> NewRelminMxid = OldestMxact ;
518518vacrel -> skippedallvis = false;
@@ -1295,7 +1295,7 @@ lazy_scan_heap(LVRelState *vacrel)
12951295 * Note: our opinion of which blocks can be skipped can go stale immediately.
12961296 * It's okay if caller "misses" a page whose all-visible or all-frozen marking
12971297 * was concurrently cleared, though. All that matters is that caller scan all
1298- * pages whose tuples might contain XIDs < OldestXmin, or XMIDs < OldestMxact.
1298+ * pages whose tuples might contain XIDs < OldestXmin, or MXIDs < OldestMxact.
12991299 * (Actually, non-aggressive VACUUMs can choose to skip all-visible pages with
13001300 * older XIDs/MXIDs. The vacrel->skippedallvis flag will be set here when the
13011301 * choice to skip such a range is actually made, making everything safe.)
@@ -2012,7 +2012,7 @@ lazy_scan_noprune(LVRelState *vacrel,
20122012 * relfrozenxid to a value >= FreezeLimit (and be able to
20132013 * advance rel's relminmxid to a value >= MultiXactCutoff).
20142014 * The ongoing aggressive VACUUM won't be able to do that
2015- * unless it can freeze an XID (or XMID ) from this tuple now.
2015+ * unless it can freeze an XID (or MXID ) from this tuple now.
20162016 *
20172017 * The only safe option is to have caller perform processing
20182018 * of this page using lazy_scan_prune. Caller might have to
0 commit comments