mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03: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:
@ -2859,7 +2859,7 @@ l2:
|
|||||||
* Any existing SIREAD locks on the old tuple must be linked to the new
|
* Any existing SIREAD locks on the old tuple must be linked to the new
|
||||||
* tuple for conflict detection purposes.
|
* tuple for conflict detection purposes.
|
||||||
*/
|
*/
|
||||||
PredicateLockTupleRowVersionLink(relation, &oldtup, newtup);
|
PredicateLockTupleRowVersionLink(relation, &oldtup, heaptup);
|
||||||
|
|
||||||
if (newbuf != buffer)
|
if (newbuf != buffer)
|
||||||
LockBuffer(newbuf, BUFFER_LOCK_UNLOCK);
|
LockBuffer(newbuf, BUFFER_LOCK_UNLOCK);
|
||||||
|
Reference in New Issue
Block a user