Enhance pg_stat_reset_single_table_counters function.
Fujii Masao <fujii@postgresql.org>
Enhance pg_stat_reset_single_table_counters function. This commit allows pg_stat_reset_single_table_counters() to reset statistics for a single relation shared across all databases in the cluster to zero. Bump catalog version. Author: B Sadhu Prasad Patro Reviewed-by: Mahendra Singh Thalor, Himanshu Upadhyaya, Dilip Kumar, Fujii Masao Discussion: https://postgr.es/m/CAFF0-CGy7EHeF=AqqkGMF85cySPQBgDcvNk73G2O0vL94O5U5A@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/monitoring.sgml | modified | +1 −1 |
| src/backend/postmaster/pgstat.c | modified | +7 −2 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.dat | modified | +1 −1 |
Documentation touched
Discussion
- Support reset of Shared objects statistics in "pg_stat_reset" function 28 messages · 2021-08-06 → 2021-09-02