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 12949.1292090581@sss.pgh.pa.us
Whole thread Raw
In response to Re: not all pg_stat_database fields reset after pg_stat_reset()  (tv@fuzzy.cz)
List pgsql-bugs
tv@fuzzy.cz writes:
>> However, I disagree with resetting last_autovac_time ... that's not a
>> counter, so there's no particularly good reason to discard its value.

> Oh yeah, I see. Haven't realized that when writing the patch.

... on the other hand, the reset operation is discarding the per-table
last-vacuum times, so maybe discarding the database-level value too is
more consistent.  Not sure.

            regards, tom lane

pgsql-bugs by date:

Previous
From: tv@fuzzy.cz
Date:
Subject: Re: not all pg_stat_database fields reset after pg_stat_reset()
Next
From: Magnus Hagander
Date:
Subject: Re: not all pg_stat_database fields reset after pg_stat_reset()