Re: Avoiding superfluous buffer locking during nbtree backwards scans

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Avoiding superfluous buffer locking during nbtree backwards scans
Date: 2024-08-11 19:44:14
Message-ID: CAH2-WzmSNzKabxUD=XBz5RkL0Z4K6utDkRnRy6tGA1nna3oq+A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Aug 6, 2024 at 6:31 PM Matthias van de Meent
<boekewurm+postgres(at)gmail(dot)com> wrote:
> +1, LGTM.
>
> This changes the backward scan code in _bt_readpage to have an
> approximately equivalent handling as the forward scan case for
> end-of-scan cases, which is an improvement IMO.

Pushed just now. Thanks for the review!

--
Peter Geoghegan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Joel Jacobson 2024-08-11 20:04:26 Re: Optimize mul_var() for var1ndigits >= 8
Previous Message Dmitry Dolgov 2024-08-11 19:34:55 Re: pg_stat_statements and "IN" conditions