Location via proxy:
[ UP ]
[Report a bug]
[Manage cookies]
No cookies
No scripts
No ads
No referrer
Show this form
projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08a0c2d
)
Fix SSI-related assertion failure.
author
Robert Haas
<rhaas@postgresql.org>
Mon, 25 Apr 2011 13:41:56 +0000
(09:41 -0400)
committer
Robert Haas
<rhaas@postgresql.org>
Mon, 25 Apr 2011 13:47:28 +0000
(09:47 -0400)
Bug #5899, reported by Marko Tiikkaja.
Heikki Linnakangas, reviewed by Kevin Grittner and Dan Ports.
src/backend/access/heap/heapam.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/heap/heapam.c
b/src/backend/access/heap/heapam.c
index 1fbd8b39b4a73f6aee337fccf2dcce548d0850bb..346d6b964d541d02dc60bf3f18c7a4e10274859b 100644
(file)
--- 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,
new
tup);
+ PredicateLockTupleRowVersionLink(relation, &oldtup,
heap
tup);
if (newbuf != buffer)
LockBuffer(newbuf, BUFFER_LOCK_UNLOCK);