Skip to content

Commit a923c42

Browse files
committed
Fix bogus comment
Author: Alexander Lakhin Discussion: https://postgr.es/m/20190819072244.GE18166@paquier.xyz
1 parent 15ae1a3 commit a923c42

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/backend/access/heap/heapam.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3749,9 +3749,10 @@ heap_update(Relation relation, ItemPointer otid, HeapTuple newtup,
37493749
* Note that the multixact may not be done by now. It could have
37503750
* surviving members; our own xact or other subxacts of this
37513751
* backend, and also any other concurrent transaction that locked
3752-
* the tuple with KeyShare if we only got TupleLockUpdate. If
3753-
* this is the case, we have to be careful to mark the updated
3754-
* tuple with the surviving members in Xmax.
3752+
* the tuple with LockTupleKeyShare if we only got
3753+
* LockTupleNoKeyExclusive. If this is the case, we have to be
3754+
* careful to mark the updated tuple with the surviving members in
3755+
* Xmax.
37553756
*
37563757
* Note that there could have been another update in the
37573758
* MultiXact. In that case, we need to check whether it committed

0 commit comments

Comments
 (0)