nbtree: Reorder nbtinsert.c prototypes.

Relocate _bt_newroot() prototype, so that the order that prototypes
appear in matches the order that the functions are defined in.
This commit is contained in:
Peter Geoghegan 2020-03-15 20:53:12 -07:00
parent 70a7b4776b
commit f207bb0b8f
1 changed files with 1 additions and 2 deletions

View File

@ -29,8 +29,6 @@
#define BTREE_FASTPATH_MIN_LEVEL 2
static Buffer _bt_newroot(Relation rel, Buffer lbuf, Buffer rbuf);
static TransactionId _bt_check_unique(Relation rel, BTInsertState insertstate,
Relation heapRel,
IndexUniqueCheck checkUnique, bool *is_unique,
@ -55,6 +53,7 @@ static Buffer _bt_split(Relation rel, BTScanInsert itup_key, Buffer buf,
IndexTuple nposting, uint16 postingoff);
static void _bt_insert_parent(Relation rel, Buffer buf, Buffer rbuf,
BTStack stack, bool is_root, bool is_only);
static Buffer _bt_newroot(Relation rel, Buffer lbuf, Buffer rbuf);
static bool _bt_pgaddtup(Page page, Size itemsize, IndexTuple itup,
OffsetNumber itup_off);
static void _bt_vacuum_one_page(Relation rel, Buffer buffer, Relation heapRel);