Thread: pgsql: Set right-links during sorted GiST index build.

pgsql: Set right-links during sorted GiST index build.

From
Heikki Linnakangas
Date:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/265ea567852a692e644fe6b207def4a2fc812adb

Modified Files
--------------
src/backend/access/gist/gistbuild.c | 13 +++++++++++++
1 file changed, 13 insertions(+)