Re: Add pg_walinspect function with block info columns
Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
From: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, pg@bowt.ie,
melanieplageman@gmail.com, boekewurm+postgres@gmail.com, pgsql-hackers@postgresql.org
Date: 2023-03-27T07:42:39Z
Lists: pgsql-hackers
Attachments
- v6-0001-Emit-WAL-record-info-via-pg_get_wal_block_info.patch (application/x-patch) patch v6-0001
On Mon, Mar 27, 2023 at 9:49 AM Michael Paquier <michael@paquier.xyz> wrote: > > On Sat, Mar 25, 2023 at 12:12:50PM +0900, Michael Paquier wrote: > > I don't see any need to move this block of code? This leads to > > unnecessary diffs, potentially making backpatch a bit harder. Either > > way is not a big deal, still.. Except for this bit, 0001 looks fine > > by me. > > FYI, I have gone through 0001 and applied it, after tweaking a bit the > part about block references so as we have only one > XLogRecHasAnyBlockRefs, with its StringInfoData used only locally. Thanks. Here's the v6 patch (last patch that I have with me for pg_walinspect) for adding per-record info to pg_get_wal_block_info. Note that I addressed all review comments received so far. Any thoughts? -- Bharath Rupireddy PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
Commits
-
Add show_data option to pg_get_wal_block_info.
- df4f3ab51730 16.0 landed
-
Show record information in pg_get_wal_block_info.
- 122376f028a0 16.0 landed
-
Fix recent pg_walinspect fpi_length bug.
- bade01cb4dd8 16.0 landed
-
Improve a few things in pg_walinspect
- 0276ae42ddea 16.0 landed
-
Rework design of functions in pg_walinspect
- 5c1b6628075a 16.0 cited
-
pg_walinspect: pg_get_wal_fpi_info() -> pg_get_wal_block_info()
- 9ecb134a93f0 16.0 landed