Skip to content

Commit b429519

Browse files
committed
Fix SSI-related assertion failure.
Bug #5899, reported by Marko Tiikkaja. Heikki Linnakangas, reviewed by Kevin Grittner and Dan Ports.
1 parent 08a0c2d commit b429519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/heap/heapam.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2859,7 +2859,7 @@ heap_update(Relation relation, ItemPointer otid, HeapTuple newtup,
28592859
* Any existing SIREAD locks on the old tuple must be linked to the new
28602860
* tuple for conflict detection purposes.
28612861
*/
2862-
PredicateLockTupleRowVersionLink(relation, &oldtup, newtup);
2862+
PredicateLockTupleRowVersionLink(relation, &oldtup, heaptup);
28632863

28642864
if (newbuf != buffer)
28652865
LockBuffer(newbuf, BUFFER_LOCK_UNLOCK);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy