diff options
Diffstat (limited to 'src/include/access/gist_private.h')
-rw-r--r-- | src/include/access/gist_private.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/include/access/gist_private.h b/src/include/access/gist_private.h index 77e3cb5aee8..9fb20a6b6cd 100644 --- a/src/include/access/gist_private.h +++ b/src/include/access/gist_private.h @@ -218,14 +218,11 @@ typedef struct GISTInsertStack */ GistNSN lsn; - /* child's offset */ - OffsetNumber childoffnum; + /* offset of the downlink in the parent page, that points to this page */ + OffsetNumber downlinkoffnum; /* pointer to parent */ struct GISTInsertStack *parent; - - /* for gistFindPath */ - struct GISTInsertStack *next; } GISTInsertStack; typedef struct GistSplitVector @@ -293,8 +290,6 @@ extern void freeGISTstate(GISTSTATE *giststate); extern SplitedPageLayout *gistSplit(Relation r, Page page, IndexTuple *itup, int len, GISTSTATE *giststate); -extern GISTInsertStack *gistFindPath(Relation r, BlockNumber child); - /* gistxlog.c */ extern void gist_redo(XLogRecPtr lsn, XLogRecord *record); extern void gist_desc(StringInfo buf, uint8 xl_info, char *rec); |