Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9887dd3

Browse files
Adjust comments that called MultiXactIds "XMIDs".
Oversights in commits 0b018fa and f3c15cb.
1 parent d5ee4db commit 9887dd3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/backend/access/heap/heapam.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -7218,7 +7218,7 @@ heap_tuple_needs_eventual_freeze(HeapTupleHeader tuple)
72187218
* heap_tuple_would_freeze
72197219
*
72207220
* Return value indicates if heap_prepare_freeze_tuple sibling function would
7221-
* freeze any of the XID/XMID fields from the tuple, given the same cutoffs.
7221+
* freeze any of the XID/MXID fields from the tuple, given the same cutoffs.
72227222
* We must also deal with dead tuples here, since (xmin, xmax, xvac) fields
72237223
* could be processed by pruning away the whole tuple instead of freezing.
72247224
*

src/backend/commands/vacuum.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ get_all_vacuum_rels(int options)
951951
* oldestXmin and oldestMxact are the most recent values that can ever be
952952
* passed to vac_update_relstats() as frozenxid and minmulti arguments by our
953953
* vacuumlazy.c caller later on. These values should be passed when it turns
954-
* out that VACUUM will leave no unfrozen XIDs/XMIDs behind in the table.
954+
* out that VACUUM will leave no unfrozen XIDs/MXIDs behind in the table.
955955
*/
956956
bool
957957
vacuum_set_xid_limits(Relation rel,

src/test/isolation/specs/vacuum-no-cleanup-lock.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ permutation
127127
#
128128
# This provides test coverage for code paths that are only hit when we need to
129129
# freeze, but inability to acquire a cleanup lock on a heap page makes
130-
# freezing some XIDs/XMIDs < FreezeLimit/MultiXactCutoff impossible (without
130+
# freezing some XIDs/MXIDs < FreezeLimit/MultiXactCutoff impossible (without
131131
# waiting for a cleanup lock, which non-aggressive VACUUM is unwilling to do).
132132
permutation
133133
dml_begin

0 commit comments

Comments
 (0)