pgsql: pg_walinspect: Add pg_get_wal_fpi_info()

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_walinspect: Add pg_get_wal_fpi_info()
Date: 2023-01-23 04:59:52
Message-ID: E1pJovv-00510x-Oo@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_walinspect: Add pg_get_wal_fpi_info()

This function is able to extract the full page images from a range of
records, specified as of input arguments start_lsn and end_lsn. Like
the other functions of this module, an error is returned if using LSNs
that do not reflect real system values. All the FPIs stored in a single
record are extracted.

The module's version is bumped to 1.1.

Author: Bharath Rupireddy
Reviewed-by: Bertrand Drouvot
Discussion: https://postgr.es/m/CALj2ACVCcvzd7WiWvD=6_7NBvVB_r6G0EGSxL4F8vosAi6Se4g@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c31cf1c03d01ce86f20bef8c980fe56a257b3b4b

Modified Files
--------------
contrib/pg_walinspect/Makefile | 2 +-
contrib/pg_walinspect/expected/pg_walinspect.out | 44 ++++++++-
contrib/pg_walinspect/meson.build | 1 +
contrib/pg_walinspect/pg_walinspect--1.0--1.1.sql | 24 +++++
contrib/pg_walinspect/pg_walinspect.c | 111 ++++++++++++++++++++++
contrib/pg_walinspect/pg_walinspect.control | 2 +-
contrib/pg_walinspect/sql/pg_walinspect.sql | 33 ++++++-
doc/src/sgml/pgwalinspect.sgml | 32 +++++++
8 files changed, 245 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-01-23 05:22:06 Re: pgsql: instr_time: Represent time as an int64 on all platforms
Previous Message David Rowley 2023-01-23 04:35:40 pgsql: Allow parallel aggregate on string_agg and array_agg