Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
4e21f8b6
Commit
4e21f8b6
authored
May 01, 2020
by
Peter Geoghegan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reorder function prototypes for consistency.
parent
73a076b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
src/backend/access/nbtree/nbtpage.c
src/backend/access/nbtree/nbtpage.c
+7
-7
No files found.
src/backend/access/nbtree/nbtpage.c
View file @
4e21f8b6
...
...
@@ -35,6 +35,13 @@
#include "utils/snapmgr.h"
static
BTMetaPageData
*
_bt_getmeta
(
Relation
rel
,
Buffer
metabuf
);
static
void
_bt_log_reuse_page
(
Relation
rel
,
BlockNumber
blkno
,
TransactionId
latestRemovedXid
);
static
TransactionId
_bt_xid_horizon
(
Relation
rel
,
Relation
heapRel
,
Page
page
,
OffsetNumber
*
deletable
,
int
ndeletable
);
static
bool
_bt_lock_branch_parent
(
Relation
rel
,
BlockNumber
child
,
BTStack
stack
,
Buffer
*
topparent
,
OffsetNumber
*
topoff
,
BlockNumber
*
target
,
BlockNumber
*
rightsib
);
static
bool
_bt_mark_page_halfdead
(
Relation
rel
,
Buffer
leafbuf
,
BTStack
stack
);
static
bool
_bt_unlink_halfdead_page
(
Relation
rel
,
Buffer
leafbuf
,
...
...
@@ -42,13 +49,6 @@ static bool _bt_unlink_halfdead_page(Relation rel, Buffer leafbuf,
bool
*
rightsib_empty
,
TransactionId
*
oldestBtpoXact
,
uint32
*
ndeleted
);
static
TransactionId
_bt_xid_horizon
(
Relation
rel
,
Relation
heapRel
,
Page
page
,
OffsetNumber
*
deletable
,
int
ndeletable
);
static
bool
_bt_lock_branch_parent
(
Relation
rel
,
BlockNumber
child
,
BTStack
stack
,
Buffer
*
topparent
,
OffsetNumber
*
topoff
,
BlockNumber
*
target
,
BlockNumber
*
rightsib
);
static
void
_bt_log_reuse_page
(
Relation
rel
,
BlockNumber
blkno
,
TransactionId
latestRemovedXid
);
/*
* _bt_initmetapage() -- Fill a page buffer with a correct metapage image
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment