Skip to content

Commit f207bb0

Browse files
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.
1 parent 70a7b47 commit f207bb0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/access/nbtree/nbtinsert.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
#define BTREE_FASTPATH_MIN_LEVEL 2
3030

3131

32-
static Buffer _bt_newroot(Relation rel, Buffer lbuf, Buffer rbuf);
33-
3432
static TransactionId _bt_check_unique(Relation rel, BTInsertState insertstate,
3533
Relation heapRel,
3634
IndexUniqueCheck checkUnique, bool *is_unique,
@@ -55,6 +53,7 @@ static Buffer _bt_split(Relation rel, BTScanInsert itup_key, Buffer buf,
5553
IndexTuple nposting, uint16 postingoff);
5654
static void _bt_insert_parent(Relation rel, Buffer buf, Buffer rbuf,
5755
BTStack stack, bool is_root, bool is_only);
56+
static Buffer _bt_newroot(Relation rel, Buffer lbuf, Buffer rbuf);
5857
static bool _bt_pgaddtup(Page page, Size itemsize, IndexTuple itup,
5958
OffsetNumber itup_off);
6059
static void _bt_vacuum_one_page(Relation rel, Buffer buffer, Relation heapRel);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy