Re: SSI bug? - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: SSI bug?
Date
Msg-id 4D5906A5.8040602@enterprisedb.com
Whole thread Raw
In response to Re: SSI bug?  (yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi))
Responses Re: SSI bug?  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-hackers
Looking at the prior/next version chaining, aside from the looping 
issue, isn't it broken by lock promotion too? There's a check in 
RemoveTargetIfNoLongerUsed() so that we don't release a lock target if 
its priorVersionOfRow is set, but what if the tuple lock is promoted to 
a page level lock first, and PredicateLockTupleRowVersionLink() is 
called only after that? Or can that not happen because of something else 
that I'm missing?

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Markus Wanner
Date:
Subject: Re: Debian readline/libedit breakage
Next
From: Cédric Villemain
Date:
Subject: Re: Scheduled maintenance affecting gitmaster