Set right-links during sorted GiST index build.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 265ea567852a692e644fe6b207def4a2fc812adb
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2020-10-01T08:10:43Z
Releases: 14.0
Set right-links during sorted GiST index build.

This is not strictly necessary, as the right-links are only needed by
scans that are concurrent with page splits, and neither scans or page
splits can happen during sorted index build. But it seems like a good
idea to set them anyway, if we e.g. want to add a check to amcheck in
the future to verify that the chain of right-links is complete.

Author: Andrey Borodin
Discussion: https://www.postgresql.org/message-id/4D68C21F-9FB9-41DA-B663-FDFC8D143788%40yandex-team.ru

Files

PathChange+/−
src/backend/access/gist/gistbuild.c modified +13 −0

Discussion