From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Kamigishi Rei <iijima.yun@koumakan.jp>
Cc: Andres Freund <andres@anarazel.de>
Cc: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Cc: Thomas Munro <thomas.munro@gmail.com>
Subject: Re: BUG #17245: Index corruption involving deduplicated entries
Date: Fri, 29 Oct 2021 15:52:02 -0300
Message-ID: <202110291852.t6nxvmnhplnn@alvherre.pgsql> (raw)
In-Reply-To: <CAH2-WzkTd6wHXhxn=hZT3NYwgoKNHaC5sDUwswtUo7Ay-VdR4w@mail.gmail.com>
On 2021-Oct-29, Peter Geoghegan wrote:
> However, this relation is a B-Tree index, where TIDs/page offset
> numbers are not stable at all.
>
> Almost all individual index tuple inserts onto a B-Tree page put the
> new index tuple "between" existing index tuples. This will "shift"
> whatever index tuples are to the right of the position of the new
> tuple.
Bah, of course. Sorry for the noise.
--
Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/
"Puedes vivir sólo una vez, pero si lo haces bien, una vez es suficiente"
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 using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: alvherre@alvh.no-ip.org, pg@bowt.ie, iijima.yun@koumakan.jp, andres@anarazel.de, andrew@tao11.riddles.org.uk, pgsql-bugs@lists.postgresql.org, thomas.munro@gmail.com
Subject: Re: BUG #17245: Index corruption involving deduplicated entries
In-Reply-To: <202110291852.t6nxvmnhplnn@alvherre.pgsql>
* 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