1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-09 13:09:39 +03:00

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
This commit is contained in:
Peter Geoghegan
2025-01-13 12:15:00 -05:00
parent a8a762bc46
commit 597b1ffbf1
5 changed files with 1878 additions and 1859 deletions

View File

@@ -17,6 +17,7 @@ OBJS = \
nbtdedup.o \
nbtinsert.o \
nbtpage.o \
nbtpreprocesskeys.o \
nbtree.o \
nbtsearch.o \
nbtsort.o \

View File

@@ -5,6 +5,7 @@ backend_sources += files(
'nbtdedup.c',
'nbtinsert.c',
'nbtpage.c',
'nbtpreprocesskeys.c',
'nbtree.c',
'nbtsearch.c',
'nbtsort.c',

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff