Re: pg_stat_all_tables.vacuum_count corrupted after pg_stat_reset() - Mailing list pgsql-bugs

From Tom Lane
Subject Re: pg_stat_all_tables.vacuum_count corrupted after pg_stat_reset()
Date
Msg-id 25237.1299512821@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_stat_all_tables.vacuum_count corrupted after pg_stat_reset()  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_stat_all_tables.vacuum_count corrupted after pg_stat_reset()
Next
From: "Kevin Grittner"
Date:
Subject: Re: BUG #5916: PGAdmin crash