Consolidate nbtree VACUUM metapage routines.
Peter Geoghegan <pg@bowt.ie>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/access/nbtree/nbtpage.c | modified | +59 −7 |
| src/backend/access/nbtree/nbtree.c | modified | +1 −62 |
| src/include/access/nbtree.h | modified | +1 −0 |