diff --git a/src/backend/access/gist/gist.c b/src/backend/access/gist/gist.c index 79030e7715..a44112befc 100644 --- a/src/backend/access/gist/gist.c +++ b/src/backend/access/gist/gist.c @@ -1358,6 +1358,7 @@ gistfinishsplit(GISTInsertState *state, GISTInsertStack *stack, * If the parent page was split, need to relocate the original * parent pointer. */ + stack->downlinkoffnum = InvalidOffsetNumber; gistFindCorrectParent(state->r, stack); } /* gistinserttuples() released the lock on right->buf. */