From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add bt_multi_page_stats() function to contrib/pageinspect.
Date: Mon, 02 Jan 2023 18:02:41 +0000
Message-ID: <E1pCP8z-001hut-Ka@gemulon.postgresql.org> (raw)
Add bt_multi_page_stats() function to contrib/pageinspect.
This is like the existing bt_page_stats() function, but it can
report on a range of pages rather than just one at a time.
I don't have a huge amount of faith in the portability of the
new test cases, but they do pass in a 32-bit FreeBSD VM here.
Further adjustment may be needed depending on buildfarm results.
Hamid Akhtar, reviewed by Naeem Akhter, Bertrand Drouvot,
Bharath Rupireddy, and myself
Discussion: https://postgr.es/m/CANugjht-=oGMRmNJKMqnBC69y7vr+wHDmm0ZK6-1pJsxoBKBbA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1fd3dd2048991a164c287dc29fdb78b1f7e6e14e
Modified Files
--------------
contrib/pageinspect/Makefile | 2 +-
contrib/pageinspect/btreefuncs.c | 298 ++++++++++++++++++------
contrib/pageinspect/expected/btree.out | 121 +++++++++-
contrib/pageinspect/meson.build | 1 +
contrib/pageinspect/pageinspect--1.11--1.12.sql | 23 ++
contrib/pageinspect/pageinspect.control | 2 +-
contrib/pageinspect/sql/btree.sql | 11 +
doc/src/sgml/pageinspect.sgml | 50 +++-
8 files changed, 428 insertions(+), 80 deletions(-)
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: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Add bt_multi_page_stats() function to contrib/pageinspect.
In-Reply-To: <E1pCP8z-001hut-Ka@gemulon.postgresql.org>
References: <E1pCP8z-001hut-Ka@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