Re: Add stats_reset to pg_stat_all_tables|indexes and related views

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Cc: Sami Imseih <samimseih(at)gmail(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Add stats_reset to pg_stat_all_tables|indexes and related views
Date: 2025-10-06 06:37:18
Message-ID: aONjnsaJSx-nEdfU@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Oct 06, 2025 at 03:33:41PM +0900, Michael Paquier wrote:
> And applied this one as well after a few tweaks, mainly consistency in
> the code, with what should be the proper format bumps (thanks for the
> notes in your proposed commit message).

And I forgot to mention something: now the only stats kind that does
not have a reset timestamp callback but has a SQL function able to do
resets is PGSTAT_KIND_FUNCTION. Is it worth caring about doing
something for this case as well?
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bertrand Drouvot 2025-10-06 06:52:24 Re: Add memory_limit_hits to pg_stat_replication_slots
Previous Message vignesh C 2025-10-06 06:37:03 Re: Logical Replication of sequences