Move nbtree preprocessing into new .c file.
Peter Geoghegan <pg@bowt.ie>
Move nbtree preprocessing into new .c file. Quite a bit of code within nbtutils.c is only called during nbtree preprocessing. Move that code into a new .c file, nbtpreprocesskeys.c. Also reorder some of the functions within the new file for clarity. This commit has no functional impact. It is strictly mechanical. Author: Peter Geoghegan <pg@bowt.ie> Suggested-by: Heikki Linnakangas <hlinnaka@iki.fi> Discussion: https://postgr.es/m/CAH2-WznwNn1BDOpWxHBUK1f3Rdw8pO9UCenWXnvT=n9GO8GnLA@mail.gmail.com Discussion: https://postgr.es/m/86930045-5df5-494a-b4f1-815bc3fbcce0%40iki.fi
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/nbtree/Makefile | modified | +1 −0 |
| src/backend/access/nbtree/meson.build | modified | +1 −0 |
| src/backend/access/nbtree/nbtpreprocesskeys.c | added | +1864 −0 |
| src/backend/access/nbtree/nbtutils.c | modified | +259 −2115 |
| src/include/access/nbtree.h | modified | +10 −1 |
Discussion
- Optimizing nbtree ScalarArrayOp execution, allowing multi-column ordered scans, skip scan 78 messages · 2023-07-25 → 2024-08-26
- Moving nbtree preprocessing code into a new .c file 1 message · 2025-01-09