Re: Support reset of Shared objects statistics in "pg_stat_reset" function
Sadhuprasad Patro <b.sadhu@gmail.com>
From: Sadhuprasad Patro <b.sadhu@gmail.com>
To: Mahendra Singh Thalor <mahi6run@gmail.com>
Cc: Dilip Kumar <dilipbalaut@gmail.com>, Himanshu Upadhyaya <upadhyaya.himanshu@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-08-10T16:03:33Z
Lists: pgsql-hackers
> 3) I am attaching a .sql file. We can add similar types of test cases for shared tables. > Ex: first reset stats for all shared tables using pg_stat_reset and then check stats for all shared tables(all should be zero) Adding a new test case for this looks difficult as results are not consistent when the testcase added to automation. There may be some possible delay as collector process has to reset the statistics in background... So Not adding any testcase and I think for the same reason there are no existing test case for this stat reset. Thanks & Regards SadhuPrasad EnterpriseDB: http://www.enterprisedb.com
Commits
-
Enhance pg_stat_reset_single_table_counters function.
- e04267844a9b 15.0 landed