From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: nbtree: Simplify _bt_first parallel scan handling. |
Date: | 2025-01-07 15:30:01 |
Message-ID: | E1tVBWr-000LA5-02@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(at)bowt(dot)ie>
Reviewed-By: Matthias van de Meent <boekewurm+postgres(at)gmail(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2025-01-07 15:39:07 | pgsql: Improve nbtree unsatisfiable RowCompare detection. |
Previous Message | Richard Guo | 2025-01-07 02:26:09 | pgsql: Remove unused parameter in lookup_var_attr_stats |