Re: ReadRecentBuffer() doesn't scale well - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: ReadRecentBuffer() doesn't scale well
Date
Msg-id CA+hUKGLRa7b95u-vcd1vkjcjEYu-PrZD9f6pSP-ny6XqtA1a0w@mail.gmail.com
Whole thread Raw
In response to Re: ReadRecentBuffer() doesn't scale well  (Thomas Munro <thomas.munro@gmail.com>)
List pgsql-hackers
On Fri, Sep 19, 2025 at 11:44 AM Thomas Munro <thomas.munro@gmail.com> wrote:
> On Fri, Sep 19, 2025 at 12:36 AM Andres Freund <andres@anarazel.de> wrote:
> > I'm planning to commit 0001 soon, unless you'd like to do the honors - I would
> > break it with some upcoming patches, and it's a good improvement. Those
> > patches also will PinBuffer_Locked() a bit slower, i.e. it'd be good to avoid
> > using it in ReadRecentBuffer() for that reason alone.
>
> Oh, thanks for thinking about that interaction.  I'll go ahead and
> push it later today after I re-convince myself that it's correct.

Sorry I haven't got to this yet.  Please feel free to go ahead and
push it if it's blocking you...



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options
Next
From: Tatsuo Ishii
Date:
Subject: Re: Questionable result from lead(0) IGNORE NULLS