Skip to content

Commit 4e21f8b

Browse files
Reorder function prototypes for consistency.
1 parent 73a076b commit 4e21f8b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/backend/access/nbtree/nbtpage.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,20 @@
3535
#include "utils/snapmgr.h"
3636

3737
static BTMetaPageData *_bt_getmeta(Relation rel, Buffer metabuf);
38+
static void _bt_log_reuse_page(Relation rel, BlockNumber blkno,
39+
TransactionId latestRemovedXid);
40+
static TransactionId _bt_xid_horizon(Relation rel, Relation heapRel, Page page,
41+
OffsetNumber *deletable, int ndeletable);
42+
static bool _bt_lock_branch_parent(Relation rel, BlockNumber child,
43+
BTStack stack, Buffer *topparent, OffsetNumber *topoff,
44+
BlockNumber *target, BlockNumber *rightsib);
3845
static bool _bt_mark_page_halfdead(Relation rel, Buffer leafbuf,
3946
BTStack stack);
4047
static bool _bt_unlink_halfdead_page(Relation rel, Buffer leafbuf,
4148
BlockNumber scanblkno,
4249
bool *rightsib_empty,
4350
TransactionId *oldestBtpoXact,
4451
uint32 *ndeleted);
45-
static TransactionId _bt_xid_horizon(Relation rel, Relation heapRel, Page page,
46-
OffsetNumber *deletable, int ndeletable);
47-
static bool _bt_lock_branch_parent(Relation rel, BlockNumber child,
48-
BTStack stack, Buffer *topparent, OffsetNumber *topoff,
49-
BlockNumber *target, BlockNumber *rightsib);
50-
static void _bt_log_reuse_page(Relation rel, BlockNumber blkno,
51-
TransactionId latestRemovedXid);
5252

5353
/*
5454
* _bt_initmetapage() -- Fill a page buffer with a correct metapage image

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