Re: Add stats_reset to pg_stat_all_tables|indexes and related views - Mailing list pgsql-hackers

From Bertrand Drouvot
Subject Re: Add stats_reset to pg_stat_all_tables|indexes and related views
Date
Msg-id aOXsfBhxjWmqxJYH@ip-10-97-1-34.eu-west-3.compute.internal
Whole thread Raw
In response to Re: Add stats_reset to pg_stat_all_tables|indexes and related views  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Hi,

On Wed, Oct 08, 2025 at 12:54:18PM +0900, Michael Paquier wrote:
> 
> So at the end, I have added
> a new step that queries pg_stat_get_function_stat_reset_time(), and
> used it in the only permutation that does a reset of the counters.

Makes sense and it still tests null and not null cases for the new field (
so both cases are covered).

> Applied with this tweak, and bumps with the
> mandatory bumps for the catalog version and PGSTAT_FILE_FORMAT_ID.

Thanks!

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: Optimize LISTEN/NOTIFY
Next
From: Tatsuo Ishii
Date:
Subject: Re: Questionable result from lead(0) IGNORE NULLS