Skip to content

Commit 637dac9

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

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
@@ -3356,9 +3356,10 @@ heap_update(Relation relation, ItemPointer otid, HeapTuple newtup,
33563356
* Note that the multixact may not be done by now. It could have
33573357
* surviving members; our own xact or other subxacts of this
33583358
* backend, and also any other concurrent transaction that locked
3359-
* the tuple with KeyShare if we only got TupleLockUpdate. If
3360-
* this is the case, we have to be careful to mark the updated
3361-
* tuple with the surviving members in Xmax.
3359+
* the tuple with LockTupleKeyShare if we only got
3360+
* LockTupleNoKeyExclusive. If this is the case, we have to be
3361+
* careful to mark the updated tuple with the surviving members in
3362+
* Xmax.
33623363
*
33633364
* Note that there could have been another update in the
33643365
* MultiXact. In that case, we need to check whether it committed

0 commit comments

Comments
 (0)