pgsql: nbtree: Simplify _bt_first parallel scan handling. - Mailing list pgsql-committers

From Peter Geoghegan
Subject pgsql: nbtree: Simplify _bt_first parallel scan handling.
Date
Msg-id E1tVBWr-000LA5-02@gemulon.postgresql.org
Whole thread Raw
List 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@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(-)


pgsql-committers by date:

Previous
From: Richard Guo
Date:
Subject: pgsql: Remove unused parameter in lookup_var_attr_stats
Next
From: Peter Geoghegan
Date:
Subject: pgsql: Improve nbtree unsatisfiable RowCompare detection.