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

From Heikki Linnakangas
Subject pgsql: Set right-links during sorted GiST index build.
Date
Msg-id E1kNu6R-0001KI-Nm@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(+)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Remove logging.c from the shared library of src/common/
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix incorrect assertion on number of array dimensions.