diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-10-12 18:01:34 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-10-12 18:01:34 -0400 |
commit | 371668a8389d792279bd7aff8ca796e284f595df (patch) | |
tree | 50391f57d108db509de86267632034707956eca4 /src/backend/executor/nodeModifyTable.c | |
parent | 78c0b6ed273a1262f96efe94004bc92d99865005 (diff) | |
download | postgresql-371668a8389d792279bd7aff8ca796e284f595df.tar.gz postgresql-371668a8389d792279bd7aff8ca796e284f595df.zip |
Fix GiST buffering build to work when there are included columns.
gistRelocateBuildBuffersOnSplit did not get the memo about which
attribute count to use. This could lead to a crash if there were
included columns and buffering build was chosen. (Because there
are random page-split decisions elsewhere in GiST index build,
the crashes are not entirely deterministic.)
Back-patch to v12 where GiST gained support for included columns.
Pavel Borisov
Discussion: https://postgr.es/m/CALT9ZEECCV5m7wvxg46PC-7x-EybUmnpupBGhSFMoAAay+r6HQ@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions