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
0ea53256
Commit
0ea53256
authored
Nov 06, 2013
by
Heikki Linnakangas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing argument and function prototypes.
Not sure how I missed these in previous commit.
parent
ecaa4708
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
src/backend/access/gin/gininsert.c
src/backend/access/gin/gininsert.c
+2
-1
src/include/access/gin_private.h
src/include/access/gin_private.h
+9
-4
No files found.
src/backend/access/gin/gininsert.c
View file @
0ea53256
...
...
@@ -143,7 +143,8 @@ buildFreshLeafTuple(GinState *ginstate,
/*
* Initialize a new posting tree with the TIDs.
*/
postingRoot
=
createPostingTree
(
ginstate
->
index
,
items
,
nitem
);
postingRoot
=
createPostingTree
(
ginstate
->
index
,
items
,
nitem
,
buildStats
);
/* And save the root link in the result tuple */
GinSetPostingTree
(
res
,
postingRoot
);
...
...
src/include/access/gin_private.h
View file @
0ea53256
...
...
@@ -533,10 +533,9 @@ extern void ginEntryFillRoot(GinBtree btree, Buffer root, Buffer lbuf, Buffer rb
extern
IndexTuple
ginPageGetLinkItup
(
Buffer
buf
);
/* gindatapage.c */
extern
uint32
ginMergeItemPointers
(
ItemPointerData
*
dst
,
ItemPointerData
*
a
,
uint32
na
,
ItemPointerData
*
b
,
uint32
nb
);
extern
BlockNumber
createPostingTree
(
Relation
index
,
ItemPointerData
*
items
,
uint32
nitems
,
GinStatsData
*
buildStats
);
extern
void
GinDataPageAddItemPointer
(
Page
page
,
ItemPointer
data
,
OffsetNumber
offset
);
extern
void
GinDataPageAddPostingItem
(
Page
page
,
PostingItem
*
data
,
OffsetNumber
offset
);
extern
void
GinPageDeletePostingItem
(
Page
page
,
OffsetNumber
offset
);
...
...
@@ -727,6 +726,12 @@ extern void ginHeapTupleFastCollect(GinState *ginstate,
extern
void
ginInsertCleanup
(
GinState
*
ginstate
,
bool
vac_delay
,
IndexBulkDeleteResult
*
stats
);
/* ginpostinglist.c */
extern
uint32
ginMergeItemPointers
(
ItemPointerData
*
dst
,
ItemPointerData
*
a
,
uint32
na
,
ItemPointerData
*
b
,
uint32
nb
);
/*
* Merging the results of several gin scans compares item pointers a lot,
* so we want this to be inlined. But if the compiler doesn't support that,
...
...
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