Re: Clearing global statistics - Mailing list pgsql-hackers

From Greg Smith
Subject Re: Clearing global statistics
Date
Msg-id 4B4F5805.5040403@2ndquadrant.com
Whole thread Raw
In response to Re: Clearing global statistics  (Euler Taveira de Oliveira <euler@timbira.com>)
List pgsql-hackers
Euler Taveira de Oliveira wrote: <blockquote cite="mid:4B4D21E1.3010905@timbira.com" type="cite"><pre wrap="">Greg
Smithescreveu: </pre><blockquote type="cite"><pre wrap="">pg_stat_reset( which text )     which := 'buffers' |
'checkpoints'| 'tables' | 'functions' |  ...
 
   </pre></blockquote><pre wrap="">What about adding 'all' too? Or the idea is resetting all global counters when
we call pg_stat_reset() (without parameters)? </pre></blockquote><br /> Once there's more than one piece to clear maybe
addingin an 'all' target makes sense.  In the context of the update patch I've finished, it just doesn't make sense
giventhe code involved.<br /><br /><pre class="moz-signature" cols="72">-- 
 
Greg Smith    2ndQuadrant   Baltimore, MD
PostgreSQL Training, Services and Support
<a class="moz-txt-link-abbreviated" href="mailto:greg@2ndQuadrant.com">greg@2ndQuadrant.com</a>  <a
class="moz-txt-link-abbreviated"href="http://www.2ndQuadrant.com">www.2ndQuadrant.com</a>
 
</pre>

pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: Clearing global statistics
Next
From: Magnus Hagander
Date:
Subject: Re: Clearing global statistics