aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2022-03-11 19:30:21 -0800
committerPeter Geoghegan <pg@bowt.ie>2022-03-11 19:30:21 -0800
commit5b68f75e12831cd5b7d8058320c0ca29bbe76067 (patch)
tree9a0835df18a3b1dc0bb24d51bfd1d2bd358967de /src
parent8e375ea4a0e95dd0d74f11c439cce4498bf80bd7 (diff)
downloadpostgresql-5b68f75e12831cd5b7d8058320c0ca29bbe76067.tar.gz
postgresql-5b68f75e12831cd5b7d8058320c0ca29bbe76067.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/heap/heapam.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c
index 4e6aeba3154..3746336a09d 100644
--- a/src/backend/access/heap/heapam.c
+++ b/src/backend/access/heap/heapam.c
@@ -6417,7 +6417,7 @@ FreezeMultiXactId(MultiXactId multi, uint16 t_infomask,
* are older than the specified cutoff XID and cutoff MultiXactId. If so,
* setup enough state (in the *frz output argument) to later execute and
* WAL-log what we would need to do, and return true. Return false if nothing
- * is to be changed. In addition, set *totally_frozen_p to true if the tuple
+ * is to be changed. In addition, set *totally_frozen to true if the tuple
* will be totally frozen after these operations are performed and false if
* more freezing will eventually be required.
*
@@ -6445,7 +6445,7 @@ bool
heap_prepare_freeze_tuple(HeapTupleHeader tuple,
TransactionId relfrozenxid, TransactionId relminmxid,
TransactionId cutoff_xid, TransactionId cutoff_multi,
- xl_heap_freeze_tuple *frz, bool *totally_frozen_p)
+ xl_heap_freeze_tuple *frz, bool *totally_frozen)
{
bool changed = false;
bool xmax_already_frozen = false;
@@ -6645,8 +6645,8 @@ heap_prepare_freeze_tuple(HeapTupleHeader tuple,
}
}
- *totally_frozen_p = (xmin_frozen &&
- (freeze_xmax || xmax_already_frozen));
+ *totally_frozen = (xmin_frozen &&
+ (freeze_xmax || xmax_already_frozen));
return changed;
}