]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Set right-links during sorted GiST index build.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 1 Oct 2020 08:10:43 +0000 (11:10 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 1 Oct 2020 08:10:43 +0000 (11:10 +0300)
commit265ea567852a692e644fe6b207def4a2fc812adb
tree7398a21c0be2fc58bb0abd6d209d5a5192381fd2
parent6b1c5cacec5e8305a3880b441526c47bd47c64cd
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
src/backend/access/gist/gistbuild.c