pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: nbtree: Simplify _bt_first parallel scan handling.
Date: Tue, 07 Jan 2025 15:30:01 +0000
Message-ID: <E1tVBWr-000LA5-02@gemulon.postgresql.org> (raw)

nbtree: Simplify _bt_first parallel scan handling.

This new structure relieves _bt_first from having separate calls to
_bt_start_array_keys for the serial case and parallel case.  This saves
code, and seems clearer.

Follow-up to work from commits 4e6e375b and b5ee4e52.

Author: Peter Geoghegan <pg@bowt.ie>
Reviewed-By: Matthias van de Meent <boekewurm+postgres@gmail.com>
Discussion: https://postgr.es/m/CAH2-Wz=XjUZjBjHJdhTvuH5MwoJObWGoM2RG2LyFg5WUdWyk=A@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/428a99b58960a2772c3a29235eb694054f666a28

Modified Files
--------------
src/backend/access/nbtree/nbtsearch.c | 80 +++++++++++++++--------------------
1 file changed, 34 insertions(+), 46 deletions(-)



Message-ID: <E1tVBWr-000LA5-02@gemulon.postgresql.org>
Permalink:  ../E1tVBWr-000LA5-02@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tVBWr-000LA5-02@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: pg@bowt.ie, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: nbtree: Simplify _bt_first parallel scan handling.
  In-Reply-To: <E1tVBWr-000LA5-02@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox