From: Tom Lane <tgl@sss.pgh.pa.us>
To: Itagaki Takahiro <itagaki.takahiro@gmail.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: pg_stat_all_tables.vacuum_count corrupted after pg_stat_reset()
Date: Mon, 07 Mar 2011 10:47:01 -0500
Message-ID: <25237.1299512821@sss.pgh.pa.us> (raw)
In-Reply-To: <24996.1299512283@sss.pgh.pa.us>
References: <AANLkTikheK4VsBXFw+6Y+t_ZH6GPBTm53uBrpLAnPe5D@mail.gmail.com>
<24996.1299512283@sss.pgh.pa.us>
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
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, itagaki.takahiro@gmail.com
Subject: Re: pg_stat_all_tables.vacuum_count corrupted after pg_stat_reset()
In-Reply-To: <25237.1299512821@sss.pgh.pa.us>
References: <AANLkTikheK4VsBXFw+6Y+t_ZH6GPBTm53uBrpLAnPe5D@mail.gmail.com> <24996.1299512283@sss.pgh.pa.us> <25237.1299512821@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