aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2019-03-19 09:59:05 -0700
committerPeter Geoghegan <pg@bowt.ie>2019-03-19 09:59:05 -0700
commit1009920aaa39e19ecb36409447ece2f8102f4225 (patch)
treec0e98e22f88ecd6c6788a9e0aabf05d44774c6ca /src
parent0dfe3d0ef5799e5197adb127a0ec354b61429982 (diff)
downloadpostgresql-1009920aaa39e19ecb36409447ece2f8102f4225.tar.gz
postgresql-1009920aaa39e19ecb36409447ece2f8102f4225.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/nbtree/nbtsearch.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/access/nbtree/nbtsearch.c b/src/backend/access/nbtree/nbtsearch.c
index af3da3aa5b6..a0d78b6d682 100644
--- a/src/backend/access/nbtree/nbtsearch.c
+++ b/src/backend/access/nbtree/nbtsearch.c
@@ -24,6 +24,7 @@
#include "utils/rel.h"
+static void _bt_drop_lock_and_maybe_pin(IndexScanDesc scan, BTScanPos sp);
static bool _bt_readpage(IndexScanDesc scan, ScanDirection dir,
OffsetNumber offnum);
static void _bt_saveitem(BTScanOpaque so, int itemIndex,
@@ -34,7 +35,6 @@ static bool _bt_parallel_readpage(IndexScanDesc scan, BlockNumber blkno,
ScanDirection dir);
static Buffer _bt_walk_left(Relation rel, Buffer buf, Snapshot snapshot);
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);
@@ -66,7 +66,6 @@ _bt_drop_lock_and_maybe_pin(IndexScanDesc scan, BTScanPos sp)
}
}
-
/*
* _bt_search() -- Search the tree for a particular scankey,
* or more precisely for the first leaf page it could be on.