Re: not all pg_stat_database fields reset after pg_stat_reset() - Mailing list pgsql-bugs

From Tom Lane
Subject Re: not all pg_stat_database fields reset after pg_stat_reset()
Date
Msg-id 9271.1292184788@sss.pgh.pa.us
Whole thread Raw
In response to Re: not all pg_stat_database fields reset after pg_stat_reset()  (Magnus Hagander <magnus@hagander.net>)
List pgsql-bugs
Magnus Hagander <magnus@hagander.net> writes:
> On Sat, Dec 11, 2010 at 18:31, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Hmm.  I think that not resetting the n_tuples_xxx fields was simply an
>> oversight in Magnus' patch that added them,
>> http://archives.postgresql.org/pgsql-committers/2007-03/msg00144.php
>> Magnus, was this intentional by any chance?

> Nope, not that I can recall. Looks like an oversight.

OK, applied, along with the last_autovac_time reset --- I concluded that
keeping that at the database level wouldn't be consistent, since we're
throwing it away at the table level.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: not all pg_stat_database fields reset after pg_stat_reset()
Next
From: Robert Haas
Date:
Subject: Re: BUG #5776: Unable to create view with parameter in PL/pgsql