summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuildbuffers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/access/gist/gistbuildbuffers.c')
-rw-r--r--src/backend/access/gist/gistbuildbuffers.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/backend/access/gist/gistbuildbuffers.c b/src/backend/access/gist/gistbuildbuffers.c
index 2a5f7b3422..34a12bc79c 100644
--- a/src/backend/access/gist/gistbuildbuffers.c
+++ b/src/backend/access/gist/gistbuildbuffers.c
@@ -606,12 +606,8 @@ gistRelocateBuildBuffersOnSplit(GISTBuildBuffers *gfbb, GISTSTATE *giststate,
HASH_FIND, &found);
if (!found)
{
- /*
- * Node buffer should exist at this point. If it didn't exist before,
- * the insertion that caused the page to split should've created it.
- */
- elog(ERROR, "node buffer of page being split (%u) does not exist",
- blocknum);
+ /* The page has no buffer, so we have nothing to do. */
+ return;
}
/*