Re: pg_stat_reset not resetting all stats - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_stat_reset not resetting all stats
Date
Msg-id 10878.1229118487@sss.pgh.pa.us
Whole thread Raw
In response to pg_stat_reset not resetting all stats  (Brad Nicholson <bnichols@ca.afilias.info>)
List pgsql-general
Brad Nicholson <bnichols@ca.afilias.info> writes:
> Is there a reason that pg_stat_reset doesn't reset the stats in
> pg_stat_bgwriter and pg_stat_database?  PG 8.3 (obviously).

It is only supposed to reset counters associated with the current
database.  Those counts are cluster-wide.

            regards, tom lane

pgsql-general by date:

Previous
From: Scott Ribe
Date:
Subject: Re: The future of Solaris?
Next
From: Erik Jones
Date:
Subject: Re: Possible bug with ALTER LANGUAGE ... OWNER TO ...