pgsql: Reset all database-level stats in pgstat_recv_resetcounter().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Reset all database-level stats in pgstat_recv_resetcounter().
Date: 2010-12-12 20:10:21
Message-ID: E1PRsFR-00068p-4p@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Reset all database-level stats in pgstat_recv_resetcounter().

We were failing to zero out some pg_stat_database counters that have
been added since the initial pgstats coding. This is a bug, but not
back-patching the fix since changing this behavior in a minor release
seems a cure worse than the disease.

Report and patch by Tomas Vondra.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=0c90442355fbbe785740669f63141f24674c8958

Modified Files
--------------
src/backend/postmaster/pgstat.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Glen Knowles 2010-12-13 05:54:21 Re: [COMMITTERS] pgsql: Use symbolic names not octal constants for file permission flags
Previous Message Tom Lane 2010-12-12 19:15:18 Re: [COMMITTERS] pgsql: Make S_IRGRP etc available in mingw builds as well as MSVC.