Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
0ea53256
Commit
0ea53256
authored
11 years ago
by
Heikki Linnakangas
Browse files
Options
Downloads
Patches
Plain Diff
Fix missing argument and function prototypes.
Not sure how I missed these in previous commit.
parent
ecaa4708
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/backend/access/gin/gininsert.c
+2
-1
2 additions, 1 deletion
src/backend/access/gin/gininsert.c
src/include/access/gin_private.h
+9
-4
9 additions, 4 deletions
src/include/access/gin_private.h
with
11 additions
and
5 deletions
src/backend/access/gin/gininsert.c
+
2
−
1
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
);
...
...
This diff is collapsed.
Click to expand it.
src/include/access/gin_private.h
+
9
−
4
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,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment