pg_walinspect: Add pg_get_wal_fpi_info()
authorMichael Paquier <michael@paquier.xyz>
Mon, 23 Jan 2023 04:55:18 +0000 (13:55 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 23 Jan 2023 04:55:18 +0000 (13:55 +0900)
commitc31cf1c03d01ce86f20bef8c980fe56a257b3b4b
tree171926cd166100130f6e7e1c0f799450db60ec20
parent16fd03e956540d1b47b743f6a84f37c54ac93dd4
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
contrib/pg_walinspect/Makefile
contrib/pg_walinspect/expected/pg_walinspect.out
contrib/pg_walinspect/meson.build
contrib/pg_walinspect/pg_walinspect--1.0--1.1.sql [new file with mode: 0644]
contrib/pg_walinspect/pg_walinspect.c
contrib/pg_walinspect/pg_walinspect.control
contrib/pg_walinspect/sql/pg_walinspect.sql
doc/src/sgml/pgwalinspect.sgml