Consolidate nbtree VACUUM metapage routines.

Peter Geoghegan <pg@bowt.ie>

Commit: 02b5940dbea17d07a1dbcba3cbe113cc8b70f228
Author: Peter Geoghegan <pg@bowt.ie>
Date: 2021-03-12T21:11:47Z
Releases: 14.0
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.

Files