pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Set right-links during sorted GiST index build.
Date: Thu, 01 Oct 2020 08:38:15 +0000
Message-ID: <E1kNu6R-0001KI-Nm@gemulon.postgresql.org> (raw)

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(+)



Message-ID: <E1kNu6R-0001KI-Nm@gemulon.postgresql.org>
Permalink:  ../E1kNu6R-0001KI-Nm@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kNu6R-0001KI-Nm@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Set right-links during sorted GiST index build.
  In-Reply-To: <E1kNu6R-0001KI-Nm@gemulon.postgresql.org>
  References: <E1kNu6R-0001KI-Nm@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox