Re: WAL-logging facility for pgstats kinds

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Cc: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: WAL-logging facility for pgstats kinds
Date: 2025-01-14 03:54:36
Message-ID: Z4Xf_KHTv_B-5GtF@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jan 10, 2025 at 01:46:53PM +0900, Michael Paquier wrote:
> I'd rather use RecoveryInProgress() here even if XLogInsertAllowed()
> is a synonym of that, minus the update of LocalXLogInsertAllowed for
> the local process.

I've applied v2-0002 for the new header as it is useful on its own.
Rebased to avoid the wrath of the CF bot, as v3.
--
Michael

Attachment Content-Type Size
v3-0003-Add-RMGR-and-WAL-logging-API-for-pgstats.patch text/x-diff 11.1 KB
v3-0004-injection_points-Add-option-and-tests-for-WAL-log.patch text/x-diff 7.5 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2025-01-14 04:03:00 Re: Issue with markers in isolation tester? Or not?
Previous Message Michael Paquier 2025-01-14 03:18:23 Re: Make pg_stat_io view count IOs as bytes instead of blocks