Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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(-)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group