pgsql: Fix GiST buffering build to work when there are included columns

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix GiST buffering build to work when there are included columns
Дата
Msg-id E1kS5t6-0004C9-6T@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/962ab473ec3d4c1090ba75fa677167126956c1ee

Modified Files
--------------
src/backend/access/gist/gistbuildbuffers.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Re-allow testing of GiST buffered builds.
Следующее
От: Amit Kapila
Дата:
Сообщение: pgsql: Add tests for logical replication spilled stats.