Re: pg_stat_all_tables.vacuum_count corrupted after pg_stat_reset()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>
Cc: pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: pg_stat_all_tables.vacuum_count corrupted after pg_stat_reset()
Date: 2011-03-07 15:47:01
Message-ID: 25237.1299512821@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I wrote:
> So yeah, something is pretty hosed here, but I don't think it's
> pg_stat_reset's fault ...

Oh, I see the problem: pgstat_recv_tabstat isn't bothering to initialize
those fields in a new entry.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kevin Grittner 2011-03-07 16:03:19 Re: BUG #5916: PGAdmin crash
Previous Message Tom Lane 2011-03-07 15:38:03 Re: pg_stat_all_tables.vacuum_count corrupted after pg_stat_reset()