Skip to content

Commit 1009920

Browse files
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.
1 parent 0dfe3d0 commit 1009920

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/access/nbtree/nbtsearch.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include "utils/rel.h"
2525

2626

27+
static void _bt_drop_lock_and_maybe_pin(IndexScanDesc scan, BTScanPos sp);
2728
static bool _bt_readpage(IndexScanDesc scan, ScanDirection dir,
2829
OffsetNumber offnum);
2930
static void _bt_saveitem(BTScanOpaque so, int itemIndex,
@@ -34,7 +35,6 @@ static bool _bt_parallel_readpage(IndexScanDesc scan, BlockNumber blkno,
3435
ScanDirection dir);
3536
static Buffer _bt_walk_left(Relation rel, Buffer buf, Snapshot snapshot);
3637
static bool _bt_endpoint(IndexScanDesc scan, ScanDirection dir);
37-
static void _bt_drop_lock_and_maybe_pin(IndexScanDesc scan, BTScanPos sp);
3838
static inline void _bt_initialize_more_data(BTScanOpaque so, ScanDirection dir);
3939

4040

@@ -66,7 +66,6 @@ _bt_drop_lock_and_maybe_pin(IndexScanDesc scan, BTScanPos sp)
6666
}
6767
}
6868

69-
7069
/*
7170
* _bt_search() -- Search the tree for a particular scankey,
7271
* or more precisely for the first leaf page it could be on.

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