pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Enhance pg_stat_reset_single_table_counters function.
Date: Thu, 02 Sep 2021 05:03:51 +0000
Message-ID: <E1mLetD-0001Ro-Lj@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e04267844a9bbf97c2e85c919b84dfe498ab0302

Modified Files
--------------
doc/src/sgml/monitoring.sgml     | 2 +-
src/backend/postmaster/pgstat.c  | 9 +++++++--
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat  | 2 +-
4 files changed, 10 insertions(+), 5 deletions(-)



Message-ID: <E1mLetD-0001Ro-Lj@gemulon.postgresql.org>
Permalink:  ../E1mLetD-0001Ro-Lj@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mLetD-0001Ro-Lj@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org
  Subject: Re: pgsql: Enhance pg_stat_reset_single_table_counters function.
  In-Reply-To: <E1mLetD-0001Ro-Lj@gemulon.postgresql.org>
  References: <E1mLetD-0001Ro-Lj@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox