Re: WAL-logging facility for pgstats kinds

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-12-31T00:52:31Z
Lists: pgsql-hackers

Attachments

On Fri, Dec 27, 2024 at 12:32:25PM +0900, Michael Paquier wrote:
> For clarity, the patch set has been split into several pieces, I hope
> rather edible:
> - 0001, a fix I've posted on a different thread [1], used in patch
> 0004 to test this new facility.
> - 0002, a refactoring piece to be able to expose stats kind data into
> the frontend (for pg_waldump).
> - 0003 is the core backend piece, introducing the WAL-logging routine
> and the new RMGR.
> - 0004, that provides tests for the new backend facility via a custom
> stats kind.  Requires 0001.
> 
> I am going to attach it to the next CF.

0001 has been applied as of b757abefc041.  Here is a rebased patch set
for the rest.
--
Michael

Commits

  1. Move information about pgstats kinds into its own header pgstat_kind.h