mirror of
https://github.com/postgres/postgres.git
synced 2025-05-06 19:59:18 +03:00
Tweak nbtsearch.c function prototype order.
nbtsearch.c's static function prototypes were slightly out of order. Make the order consistent with static function definition order.
This commit is contained in:
parent
0dfe3d0ef5
commit
1009920aaa
@ -24,6 +24,7 @@
|
|||||||
#include "utils/rel.h"
|
#include "utils/rel.h"
|
||||||
|
|
||||||
|
|
||||||
|
static void _bt_drop_lock_and_maybe_pin(IndexScanDesc scan, BTScanPos sp);
|
||||||
static bool _bt_readpage(IndexScanDesc scan, ScanDirection dir,
|
static bool _bt_readpage(IndexScanDesc scan, ScanDirection dir,
|
||||||
OffsetNumber offnum);
|
OffsetNumber offnum);
|
||||||
static void _bt_saveitem(BTScanOpaque so, int itemIndex,
|
static void _bt_saveitem(BTScanOpaque so, int itemIndex,
|
||||||
@ -34,7 +35,6 @@ static bool _bt_parallel_readpage(IndexScanDesc scan, BlockNumber blkno,
|
|||||||
ScanDirection dir);
|
ScanDirection dir);
|
||||||
static Buffer _bt_walk_left(Relation rel, Buffer buf, Snapshot snapshot);
|
static Buffer _bt_walk_left(Relation rel, Buffer buf, Snapshot snapshot);
|
||||||
static bool _bt_endpoint(IndexScanDesc scan, ScanDirection dir);
|
static bool _bt_endpoint(IndexScanDesc scan, ScanDirection dir);
|
||||||
static void _bt_drop_lock_and_maybe_pin(IndexScanDesc scan, BTScanPos sp);
|
|
||||||
static inline void _bt_initialize_more_data(BTScanOpaque so, ScanDirection dir);
|
static inline void _bt_initialize_more_data(BTScanOpaque so, ScanDirection dir);
|
||||||
|
|
||||||
|
|
||||||
@ -66,7 +66,6 @@ _bt_drop_lock_and_maybe_pin(IndexScanDesc scan, BTScanPos sp)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* _bt_search() -- Search the tree for a particular scankey,
|
* _bt_search() -- Search the tree for a particular scankey,
|
||||||
* or more precisely for the first leaf page it could be on.
|
* or more precisely for the first leaf page it could be on.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user