Re: Add pg_walinspect function with block info columns
Kyotaro Horiguchi <horikyota.ntt@gmail.com>
From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: michael@paquier.xyz
Cc: boekewurm+postgres@gmail.com, bharath.rupireddyforpostgres@gmail.com,
melanieplageman@gmail.com, pgsql-hackers@postgresql.org, pg@bowt.ie
Date: 2023-03-07T06:49:02Z
Lists: pgsql-hackers
At Tue, 7 Mar 2023 14:44:49 +0900, Michael Paquier <michael@paquier.xyz> wrote in > On Tue, Mar 07, 2023 at 11:17:45AM +0900, Kyotaro Horiguchi wrote: > > Thus I'm inclined to agree with Michael's suggestion of creating a new > > normalized set-returning function that returns information of > > "blocks". > > Just to be clear here, I am not suggesting to add a new function for > only the block information, just a rename of the existing > pg_get_wal_fpi_info() to something like pg_get_wal_block_info() that > includes both the FPI (if any or NULL if none) and the block data (if > any or NULL is none) so as all of them are governed by the same lookup > at pg_wal/. The fpi information (aka compression type) is displayed > if there is a FPI in the block. Ah. Yes, that expansion sounds sensible. regards. -- Kyotaro Horiguchi NTT Open Source Software Center
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