Content-Length: 282398 | pFad | http://github.com/postgrespro/postgres/commit/1009920aaa39e19ecb36409447ece2f8102f4225

C2 Tweak nbtsearch.c function prototype order. · postgrespro/postgres@1009920 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/1009920aaa39e19ecb36409447ece2f8102f4225

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy