Any ExecStoreTuple end runs? - Mailing list pgsql-hackers

From Kevin Grittner
Subject Any ExecStoreTuple end runs?
Date
Msg-id 4B4CAC90020000250002E3E0@gw.wicourts.gov
Whole thread Raw
Responses Re: Any ExecStoreTuple end runs?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hopefully this won't digress into a top-to-bottom discussion of all
aspects of implementing serializable transactions again, but I have
what I hope is a quick question.
The "easy" part of implementing SIREAD level predicate locking
should be to get a lock on each visible tuple which is read in the
execution of the plan.  Is it safe to assume that ExecStoreTuple is
used for any such access?  It's obviously too low level to be the
right place to check whether we're in serializable mode and take out
locks, but if I look at the callers (like IndexNext or TidNext)
which use a valid buffer in a call to ExecStoreTuple, should I be
catching all the tuples read from the heap?
Thanks,
-Kevin


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Hot Standy introduced problem with query cancel behavior
Next
From: "Joshua D. Drake"
Date:
Subject: Re: mailing list archiver chewing patches