pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: zlianzhuang@163.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15801: pg_stat_database update stats_reset only by pg_stat_reset
Date: Mon, 13 May 2019 17:20:26 +0900
Message-ID: <20190513082026.GD2273@paquier.xyz> (raw)
In-Reply-To: <15801-21c7fbff08b6c10c@postgresql.org>
References: <15801-21c7fbff08b6c10c@postgresql.org>

On Mon, May 13, 2019 at 07:15:47AM +0000, PG Bug reporting form wrote:
> pg_stat_reset_single_table_counters/pg_stat_reset_single_function_counters
> only update pg_stat_database column stats_reset.
> stat_reset shuld update when all the column is reset.

These two functions reset statistics for a single table, and what you
are looking at are the database-level statistics.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (4+ messages)  latest in thread

Message-ID: <20190513082026.GD2273@paquier.xyz>
Permalink:  ../20190513082026.GD2273@paquier.xyz/
Also on:    postgresql.org/message-id/20190513082026.GD2273@paquier.xyz

 · 

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-bugs@postgresql.org
  Cc: michael@paquier.xyz, zlianzhuang@163.com
  Subject: Re: BUG #15801: pg_stat_database update stats_reset only by pg_stat_reset
  In-Reply-To: <20190513082026.GD2273@paquier.xyz>
  References: <15801-21c7fbff08b6c10c@postgresql.org> <20190513082026.GD2273@paquier.xyz>

* 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