diff --git a/src/backend/access/gist/gistbuildbuffers.c b/src/backend/access/gist/gistbuildbuffers.c index 2a5f7b3422dc470a2527fb919fe2cf721e4b7910..34a12bc79c09b5292e2d01ad86345d865ac12191 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; } /*