aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-04-25 09:41:56 -0400
committerRobert Haas <rhaas@postgresql.org>2011-04-25 09:47:28 -0400
commitb429519d8d1b6ac16e36dacba58ef77f77a621ca (patch)
tree47c4286eb7831be160cfae3dacd650d6ba5dac05 /src
parent08a0c2dabc3b9d59d72d7a79ed867b8e37d275a7 (diff)
downloadpostgresql-b429519d8d1b6ac16e36dacba58ef77f77a621ca.tar.gz
postgresql-b429519d8d1b6ac16e36dacba58ef77f77a621ca.zip
Fix SSI-related assertion failure.
Bug #5899, reported by Marko Tiikkaja. Heikki Linnakangas, reviewed by Kevin Grittner and Dan Ports.
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/heap/heapam.c2
1 files changed, 1 insertions, 1 deletions
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);