| From: | Thomas Munro <munro(at)ip9(dot)org> |
|---|---|
| To: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: SKIP LOCKED DATA (work in progress) |
| Date: | 2014-05-14 20:29:12 |
| Message-ID: | CADLWmXU0ZZwKnJT+A=bm8AnBDTVJ-=kXr=Wcq4KMv6UC+B=-Lw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 13 May 2014 23:06, Thomas Munro <munro(at)ip9(dot)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.)
Best regards,
Thomas Munro
| Attachment | Content-Type | Size |
|---|---|---|
| skip-locked-data-v4.patch | text/x-patch | 44.1 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2014-05-14 20:29:15 | Re: Cache invalidation bug in RelationGetIndexAttrBitmap() |
| Previous Message | Tomas Vondra | 2014-05-14 19:04:41 | Re: Cache invalidation bug in RelationGetIndexAttrBitmap() |