Re: Reduce pinning in btree indexes - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Reduce pinning in btree indexes
Date
Msg-id CA+U5nMJ37=16oo1qvXA8Dhs2x8NDQXbHRTr1D1qMwfPRq33AMw@mail.gmail.com
Whole thread Raw
In response to Re: Reduce pinning in btree indexes  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 13 March 2015 at 13:17, Robert Haas <robertmhaas@gmail.com> wrote:
> On Fri, Mar 13, 2015 at 8:52 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
>> On 15 February 2015 at 00:19, Kevin Grittner <kgrittn@ymail.com> wrote:
>>> What they wanted was what happened in the other database product --
>>> if a snapshot got sufficiently old that cleaning up the MVCC data
>>> was a problem *and* the snapshot was used again *and* it read a
>>> page which had been modified far enough back that it was not
>>> possible to return correct data, then they wanted to receive a
>>> "snapshot too old" error.  I wrote a patch to do that...
>>
>> So, please lets see the patch. It seems useful for core Postgres.
>
> It was submitted here:
>
> http://www.postgresql.org/message-id/136937748.3364317.1423964815320.JavaMail.yahoo@mail.yahoo.com

Thanks. I have +1'd that patch.

-- Simon Riggs                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, RemoteDBA, Training &
Services



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Allow "snapshot too old" error, to prevent bloat
Next
From: Simon Riggs
Date:
Subject: Re: Reduce pinning in btree indexes