aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/heap/heapam.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/access/heap/heapam.c')
-rw-r--r--src/backend/access/heap/heapam.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c
index 2a264c6ac1f..2da2be16969 100644
--- a/src/backend/access/heap/heapam.c
+++ b/src/backend/access/heap/heapam.c
@@ -3589,9 +3589,9 @@ l2:
/*
* And also prepare an Xmax value for the new copy of the tuple. If there
* was no xmax previously, or there was one but all lockers are now gone,
- * then use InvalidXid; otherwise, get the xmax from the old tuple. (In
- * rare cases that might also be InvalidXid and yet not have the
- * HEAP_XMAX_INVALID bit set; that's fine.)
+ * then use InvalidTransactionId; otherwise, get the xmax from the old
+ * tuple. (In rare cases that might also be InvalidTransactionId and yet
+ * not have the HEAP_XMAX_INVALID bit set; that's fine.)
*/
if ((oldtup.t_data->t_infomask & HEAP_XMAX_INVALID) ||
HEAP_LOCKED_UPGRADED(oldtup.t_data->t_infomask) ||