pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: amcheck: Refactoring the storage of the last visible entry
Date: Wed, 22 May 2024 23:19:55 +0000
Message-ID: <E1s9vFT-001O9M-PL@gemulon.postgresql.org> (raw)

amcheck: Refactoring the storage of the last visible entry

This commit introduces a new data structure BtreeLastVisibleEntry comprising
information about the last visible heap entry with the current value of key.
Usage of this data structure allows us to avoid passing all this information
as individual function arguments.

Reported-by: Alexander Korotkov
Discussion: https://www.postgresql.org/message-id/CAPpHfdsVbB9ToriaB1UHuOKwjKxiZmTFQcEF%3DjuzzC_nby31uA%40mail.g...
Author: Pavel Borisov, Alexander Korotkov

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/532d94fec32ac11263b53932365560491d1fd50a

Modified Files
--------------
contrib/amcheck/verify_nbtree.c  | 117 ++++++++++++++++++++-------------------
src/tools/pgindent/typedefs.list |   1 +
2 files changed, 60 insertions(+), 58 deletions(-)



Message-ID: <E1s9vFT-001O9M-PL@gemulon.postgresql.org>
Permalink:  ../E1s9vFT-001O9M-PL@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1s9vFT-001O9M-PL@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: amcheck: Refactoring the storage of the last visible entry
  In-Reply-To: <E1s9vFT-001O9M-PL@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