Re: [Patch] Fix pg_get_multixact_stats() over-reporting members on a hot standby - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [Patch] Fix pg_get_multixact_stats() over-reporting members on a hot standby
Date
Msg-id arRpeGsEQrTbRC0w@paquier.xyz
Whole thread
In response to Re: [Patch] Fix pg_get_multixact_stats() over-reporting members on a hot standby  (Naga Appani <nagnrik@gmail.com>)
Responses Re: [Patch] Fix pg_get_multixact_stats() over-reporting members on a hot standby
List pgsql-hackers
On Mon, Sep 21, 2026 at 10:55:02AM -0500, Naga Appani wrote:
> I lean toward ERROR over NULL, but not strongly.

I'll go switch that to an error if called while RecoveryInProgress(),
then.  Bonus points regarding the fact that we can reuse some of the
existing error messages from xlogfuncs.c, meaning no extra translation
required.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Etsuro Fujita
Date:
Subject: Re: Several issues with postgres_fdw stats import
Next
From: shihao zhong
Date:
Subject: Re: Add a permission check to pg_stat_get_backend_subxact()