Re: not all pg_stat_database fields reset after pg_stat_reset()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: not all pg_stat_database fields reset after pg_stat_reset()
Дата
Msg-id 9271.1292184788@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: not all pg_stat_database fields reset after pg_stat_reset()  (Magnus Hagander <magnus@hagander.net>)
Список 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 по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: not all pg_stat_database fields reset after pg_stat_reset()
Следующее
От: Robert Haas
Дата:
Сообщение: Re: BUG #5776: Unable to create view with parameter in PL/pgsql