postgres.git / summary / log / commit / refs

commit    b429519d8d1b6ac16e36dacba58ef77f77a621ca
Author:   Robert Haas <rhaas@postgresql.org>
Date:     Mon Apr 25 13:41:56 2011 +0000
First released in: 9.1.0

    Fix SSI-related assertion failure.
    
    Bug #5899, reported by Marko Tiikkaja.
    
    Heikki Linnakangas, reviewed by Kevin Grittner and Dan Ports.


src/backend/access/heap/heapam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index 1fbd8b39b4a..346d6b964d5 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -2859,7 +2859,7 @@ l2: * Any existing SIREAD locks on the old tuple must be linked to the new * tuple for conflict detection purposes. */ - PredicateLockTupleRowVersionLink(relation, &oldtup, newtup); + PredicateLockTupleRowVersionLink(relation, &oldtup, heaptup); if (newbuf != buffer) LockBuffer(newbuf, BUFFER_LOCK_UNLOCK); [parent: 08a0c2dabc3b]