mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
Fix missing argument and function prototypes.
Not sure how I missed these in previous commit.
This commit is contained in:
parent
ecaa4708e5
commit
0ea53256a8
@ -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);
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user