mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Fix SSI-related assertion failure.
Bug #5899, reported by Marko Tiikkaja. Heikki Linnakangas, reviewed by Kevin Grittner and Dan Ports.
This commit is contained in:
parent
08a0c2dabc
commit
b429519d8d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user