Re: MVCC catalog access

From: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: MVCC catalog access
Date: 2013-07-02 15:37:37
Message-ID: 51D2F3C1.2030002@vmware.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 02.07.2013 18:24, Andres Freund wrote:
> I've quickly verified that it indeed uses them. I wish I hadn't. Brrr. I
> can't even guess what that should do from the surrounding code/function
> names. Except that it looks broken under concurrency as long as
> SnapshotNow is used (because the query's snapshot won't be as new as
> SnapshotNow, even in read committed mode).
>
> Heikki, do you understand the code well enough to explain it without
> investing time?

No, sorry. I think it has something to do with updateable cursors, but I
don't understand the details.

- Heikki

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Claudio Freire 2013-07-02 16:02:01 Re: Randomisation for ensuring nlogn complexity in quicksort
Previous Message Tom Lane 2013-07-02 15:37:13 Re: Custom gucs visibility