pgsql: amcheck: Refactoring the storage of the last visible entry

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: amcheck: Refactoring the storage of the last visible entry
Date: 2024-05-22 23:19:55
Message-ID: E1s9vFT-001O9M-PL@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.gmail.com
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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alexander Korotkov 2024-05-22 23:35:03 pgsql: Fix the name collision detection in MERGE/SPLIT partition operat
Previous Message Bruce Momjian 2024-05-22 22:50:59 pgsql: doc PG 17 relnotes: fix pg_stat_reset_shared quoting