Re: pg_stat_io for the startup process - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pg_stat_io for the startup process
Date
Msg-id ZEhYI8HfPT6Pm3F3@paquier.xyz
Whole thread Raw
In response to Re: pg_stat_io for the startup process  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Tue, Apr 25, 2023 at 04:00:24PM -0400, Robert Haas wrote:
> ISTM that it's pretty desirable to do something about this. If the
> process isn't going to report statistics properly, at least remove it
> from the view. If it can be made to report properly, that would be
> even better. But shipping a new view with information that will nearly
> always be zeroes instead of real data seems like a bad call, even if
> there are existing cases that have the same problem.

Agreed that reporting no information may be better than reporting
incorrect information, even if it means an extra qual.  As mentioned
upthread, if this requires an extra design piece, adding the correct
information had better be pushed to v17~.

Perhaps an open item should be added?
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Allow pg_archivecleanup to remove backup history files
Next
From: Andres Freund
Date:
Subject: Re: pg_stat_io for the startup process