Enhance pg_stat_reset_single_table_counters function.
commite04267844a9bbf97c2e85c919b84dfe498ab0302
authorFujii Masao <fujii@postgresql.org>
Thu, 2 Sep 2021 05:01:06 +0000 (2 14:01 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 2 Sep 2021 05:01:06 +0000 (2 14:01 +0900)
tree1997be0ec3650435a726f742bff4dee4449a4399
parent31c389d8de915b705ee06c7a6e9246e20f36b9dc
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
doc/src/sgml/monitoring.sgml
src/backend/postmaster/pgstat.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.dat