pgsql: Consolidate nbtree VACUUM metapage routines.
Consolidate nbtree VACUUM metapage routines.
Simplify _bt_vacuum_needs_cleanup() functions's signature (it only needs
a single 'rel' argument now), and move it next to its sibling function
in nbtpage.c.
I believe that _bt_vacuum_needs_cleanup() was originally located in
nbtree.c due to an include dependency issue. That's no longer an issue.
Follow-up to commit 9f3665fb.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/02b5940dbea17d07a1dbcba3cbe113cc8b70f228
Modified Files
--------------
src/backend/access/nbtree/nbtpage.c | 66 +++++++++++++++++++++++++++++++++----
src/backend/access/nbtree/nbtree.c | 63 +----------------------------------
src/include/access/nbtree.h | 1 +
3 files changed, 61 insertions(+), 69 deletions(-)