On 13 May 2014 23:06, Thomas Munro <munro@ip9.org> wrote:
A couple of years ago I posted an outline of a plan [1] and an
initial patch [2] for implementing SKIP LOCKED DATA. I have
recently come back to this idea, rebased the patch and added a simple isolation test -- please see attached.
I have attached a new version which copies the skipLocked member in _copyPlanRowMark, _copyRowMarkClause and _copyLockClause. Without these, SKIP LOCKED DATA didn't work in pl/pgsql (as reported by David Rowley off-list). (Also some whitespace changes.)