gist_build_fix.patch
text/x-patch
Filename: gist_build_fix.patch
Type: text/x-patch
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: context
| File | + | − |
|---|---|---|
| src/backend/access/gist/gistbuildbuffers.c | 3 | 0 |
*** a/src/backend/access/gist/gistbuildbuffers.c
--- b/src/backend/access/gist/gistbuildbuffers.c
***************
*** 607,617 **** gistRelocateBuildBuffersOnSplit(GISTBuildBuffers *gfbb, GISTSTATE *giststate,
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);
}
/*
--- 607,616 ----
if (!found)
{
/*
! * Page without buffer could be produced by split of root page. So
! * we've just nothing to do here when there is no buffer.
*/
! return;
}
/*