Relocate _bt_readpage and related functions.

Peter Geoghegan <pg@bowt.ie>

Commit: 65d6acbc564989af15102f69978c63c3cdb5fdbc
Author: Peter Geoghegan <pg@bowt.ie>
Date: 2025-12-08T18:15:00Z
Relocate _bt_readpage and related functions.

Quite a bit of code within nbtutils.c is only called by _bt_readpage.
Move _bt_readpage and all of the nbtutils.c functions it depends on into
a new .c file, nbtreadpage.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>
Reviewed-By: Victor Yegorov <vyegorov@gmail.com>
Discussion: https://postgr.es/m/CAH2-WzmwMwcwKFgaf+mYPwiz3iL4AqpXnwtW_O0vqpWPXRom9Q@mail.gmail.com

Files

Discussion