Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 7743F1337B3E for ; Sat, 11 Dec 2010 13:58:59 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 54774-02 for ; Sat, 11 Dec 2010 17:58:52 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from elizabeth.gransy.com (elizabeth.gransy.com [89.187.132.199]) by mail.postgresql.org (Postfix) with ESMTP id C30E8133798E for ; Sat, 11 Dec 2010 13:58:51 -0400 (AST) Received: from sq.gransy.com (localhost [127.0.0.1]) by elizabeth.gransy.com (Postfix) with ESMTP id 1DEF415E40F7; Sat, 11 Dec 2010 18:58:50 +0100 (CET) Received: from 94.112.1.61 (SquirrelMail authenticated user tv@fuzzy.cz) by sq.gransy.com with HTTP; Sat, 11 Dec 2010 18:58:50 +0100 Message-ID: In-Reply-To: <4350.1292088691@sss.pgh.pa.us> References: <4e19b0bfc836f7002752517e7792a0b9.squirrel@sq.gransy.com> <4350.1292088691@sss.pgh.pa.us> Date: Sat, 11 Dec 2010 18:58:50 +0100 Subject: Re: not all pg_stat_database fields reset after pg_stat_reset() From: tv@fuzzy.cz To: "Tom Lane" Cc: tv@fuzzy.cz, pgsql-bugs@postgresql.org, "Magnus Hagander" User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201012/75 X-Sequence-Number: 28881 > However, I disagree with resetting last_autovac_time ... that's not a > counter, so there's no particularly good reason to discard its value. Oh yeah, I see. Haven't realized that when writing the patch. regards Tomas