On Fri, Apr 7, 2017 at 9:24 PM, Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> 2. Did I understand correctly that it is safe to scan the list of
> SERIALIZABLEXACTs and access the possibleUnsafeConflicts list while
> holding only SerializableXactHashLock,
Yes.
> and that 'inLink' is the correct link to be following?
If you're starting from the blocked (read-only) transaction (which
you are), inLink is the one to follow.
Note: It would be better form to use the SxactIsDeferrableWaiting()
macro than repeat the bit-testing code directly in your function.
--
Kevin Grittner