On Wed, 2022-03-23 at 17:55 -0700, Andres Freund wrote: > Starting with the below commit, pg_stat_reset_single_function_counters, > pg_stat_reset_single_table_counters don't just reset the stats for the > individual function, but also set pg_stat_database.stats_reset.
I see the point in the fine-grained reset, but I am -1 on having that reset "pg_stat_database.stats_reset". That would make the timestamp mostly useless. One could argue that resetting a single counter and *not* resetting "pg_stat_database.stats_reset" would also be a lie, but at least it is a smaller lie. Yours, Laurenz Albe