aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/heap/heapam.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2013-09-16 15:45:00 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2013-09-16 15:56:11 -0300
commit3451faaec81c8d19acdb243bfc22598c33ab074d (patch)
tree7556990ce8e40d7a07488c8681c1a37bbe46f7ab /src/backend/access/heap/heapam.c
parent374652fb6dc53a12f79586ce0e77f1ec22d58a80 (diff)
downloadpostgresql-3451faaec81c8d19acdb243bfc22598c33ab074d.tar.gz
postgresql-3451faaec81c8d19acdb243bfc22598c33ab074d.zip
Rename various "freeze multixact" variables
It seems to make more sense to use "cutoff multixact" terminology throughout the backend code; "freeze" is associated with replacing of an Xid with FrozenTransactionId, which is not what we do for MultiXactIds. Andres Freund Some adjustments by Álvaro Herrera
Diffstat (limited to 'src/backend/access/heap/heapam.c')
-rw-r--r--src/backend/access/heap/heapam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c
index 1531f3b479a..8fb043555b6 100644
--- a/src/backend/access/heap/heapam.c
+++ b/src/backend/access/heap/heapam.c
@@ -5118,8 +5118,8 @@ heap_freeze_tuple(HeapTupleHeader tuple, TransactionId cutoff_xid,
/*
* Note that this code handles IS_MULTI Xmax values, too, but only to mark
- * the tuple frozen if the updating Xid in the mxact is below the freeze
- * cutoff; it doesn't remove dead members of a very old multixact.
+ * the tuple as not updated if the multixact is below the cutoff Multixact
+ * given; it doesn't remove dead members of a very old multixact.
*/
xid = HeapTupleHeaderGetRawXmax(tuple);
if ((tuple->t_infomask & HEAP_XMAX_IS_MULTI) ?