From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: tv@fuzzy.cz
Cc: pgsql-bugs@postgresql.org
Subject: Re: not all pg_stat_database fields reset after pg_stat_reset()
Date: Sun, 12 Dec 2010 15:13:08 -0500
Message-ID: <9271.1292184788@sss.pgh.pa.us> (raw)
In-Reply-To: <AANLkTik5A2EPt2c7npJArnSJK3cwUoA5rQJqdpeR3MOO@mail.gmail.com>
References: <4e19b0bfc836f7002752517e7792a0b9.squirrel@sq.gransy.com>
<4350.1292088691@sss.pgh.pa.us>
<AANLkTik5A2EPt2c7npJArnSJK3cwUoA5rQJqdpeR3MOO@mail.gmail.com>
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
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: tgl@sss.pgh.pa.us, magnus@hagander.net, tv@fuzzy.cz
Subject: Re: not all pg_stat_database fields reset after pg_stat_reset()
In-Reply-To: <9271.1292184788@sss.pgh.pa.us>
References: <4e19b0bfc836f7002752517e7792a0b9.squirrel@sq.gransy.com> <4350.1292088691@sss.pgh.pa.us> <AANLkTik5A2EPt2c7npJArnSJK3cwUoA5rQJqdpeR3MOO@mail.gmail.com> <9271.1292184788@sss.pgh.pa.us>
* 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