Skip to content

Commit 5b68f75

Browse files
Normalize heap_prepare_freeze_tuple argument name.
We called the argument totally_frozen in its function prototype as well as in code comments, even though totally_frozen_p was used in the function definition. Standardize on totally_frozen.
1 parent 8e375ea commit 5b68f75

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/access/heap/heapam.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6417,7 +6417,7 @@ FreezeMultiXactId(MultiXactId multi, uint16 t_infomask,
64176417
* are older than the specified cutoff XID and cutoff MultiXactId. If so,
64186418
* setup enough state (in the *frz output argument) to later execute and
64196419
* WAL-log what we would need to do, and return true. Return false if nothing
6420-
* is to be changed. In addition, set *totally_frozen_p to true if the tuple
6420+
* is to be changed. In addition, set *totally_frozen to true if the tuple
64216421
* will be totally frozen after these operations are performed and false if
64226422
* more freezing will eventually be required.
64236423
*
@@ -6445,7 +6445,7 @@ bool
64456445
heap_prepare_freeze_tuple(HeapTupleHeader tuple,
64466446
TransactionId relfrozenxid, TransactionId relminmxid,
64476447
TransactionId cutoff_xid, TransactionId cutoff_multi,
6448-
xl_heap_freeze_tuple *frz, bool *totally_frozen_p)
6448+
xl_heap_freeze_tuple *frz, bool *totally_frozen)
64496449
{
64506450
bool changed = false;
64516451
bool xmax_already_frozen = false;
@@ -6645,8 +6645,8 @@ heap_prepare_freeze_tuple(HeapTupleHeader tuple,
66456645
}
66466646
}
66476647

6648-
*totally_frozen_p = (xmin_frozen &&
6649-
(freeze_xmax || xmax_already_frozen));
6648+
*totally_frozen = (xmin_frozen &&
6649+
(freeze_xmax || xmax_already_frozen));
66506650
return changed;
66516651
}
66526652

0 commit comments

Comments
 (0)