Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f8cf524

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

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
@@ -3165,9 +3165,10 @@ heap_update(Relation relation, ItemPointer otid, HeapTuple newtup,
31653165
* Note that the multixact may not be done by now. It could have
31663166
* surviving members; our own xact or other subxacts of this
31673167
* backend, and also any other concurrent transaction that locked
3168-
* the tuple with KeyShare if we only got TupleLockUpdate. If
3169-
* this is the case, we have to be careful to mark the updated
3170-
* tuple with the surviving members in Xmax.
3168+
* the tuple with LockTupleKeyShare if we only got
3169+
* LockTupleNoKeyExclusive. If this is the case, we have to be
3170+
* careful to mark the updated tuple with the surviving members in
3171+
* Xmax.
31713172
*
31723173
* Note that there could have been another update in the
31733174
* MultiXact. In that case, we need to check whether it committed

0 commit comments

Comments
 (0)