Move nbtree preprocessing into new .c file.
authorPeter Geoghegan <pg@bowt.ie>
Mon, 13 Jan 2025 17:15:00 +0000 (12:15 -0500)
committerPeter Geoghegan <pg@bowt.ie>
Mon, 13 Jan 2025 17:15:00 +0000 (12:15 -0500)
commit597b1ffbf12352a3863a894f16741864aaf2242f
tree2324e63699b1e55edad903fc66bc8a44fe9def2a
parenta8a762bc46e43bfaf4c03fc50f805fdf53f11888
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
src/backend/access/nbtree/Makefile
src/backend/access/nbtree/meson.build
src/backend/access/nbtree/nbtpreprocesskeys.c [new file with mode: 0644]
src/backend/access/nbtree/nbtutils.c
src/include/access/nbtree.h