Re: Avoiding superfluous buffer locking during nbtree backwards scans - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Avoiding superfluous buffer locking during nbtree backwards scans
Date
Msg-id CAH2-WzmM++CM9MwbjXnhpHHn0G_qTEbes+95vM=r0fdRohhcjw@mail.gmail.com
Whole thread Raw
In response to Re: Avoiding superfluous buffer locking during nbtree backwards scans  (Masahiro Ikeda <ikedamsh@oss.nttdata.com>)
List pgsql-hackers
On Tue, Nov 12, 2024 at 10:14 PM Masahiro Ikeda
<ikedamsh@oss.nttdata.com> wrote:
> On 2024-11-13 00:55, Peter Geoghegan wrote:
> > The wrapper function has extra assertions, compared to what we do
> > already. It's slightly more defensive, and IMV slightly clearer.
>
> Thanks, I agree with adding the function for refactoring and including
> assertions for moreLeft or moreRight.

Pushed.

Thanks again
--
Peter Geoghegan



pgsql-hackers by date:

Previous
From: Yugo NAGATA
Date:
Subject: Re: Add reject_limit option to file_fdw
Next
From: Pavel Stehule
Date:
Subject: Re: proposal: schema variables