Add stats_reset to pg_stat_user_functions

Michael Paquier <michael@paquier.xyz>

Commit: b71bae41a0cdda879db39d9946d2cc4af910bed1
Author: Michael Paquier <michael@paquier.xyz>
Date: 2025-10-08T03:43:40Z
Add stats_reset to pg_stat_user_functions

It is possible to call pg_stat_reset_single_function_counters() for a
single function, but the reset time was missing the system view showing
its statistics.  Like all the fields of pg_stat_user_functions, the GUC
track_functions needs to be enabled to show the statistics about
function executions.

Bump catalog version.
Bump PGSTAT_FILE_FORMAT_ID, as a result of the new field added to
PgStat_StatFuncEntry.

Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://postgr.es/m/aONjnsaJSx-nEdfU@paquier.xyz

Files

Discussion