Euler Taveira de Oliveira wrote:
Greg Smith escreveu:
pg_stat_reset( which text )
      which := 'buffers' | 'checkpoints' | 'tables' | 'functions' |  ...

What about adding 'all' too? Or the idea is resetting all global counters when
we call pg_stat_reset() (without parameters)?

Once there's more than one piece to clear maybe adding in an 'all' target makes sense. In the context of the update patch I've finished, it just doesn't make sense given the code involved.

--
Greg Smith    2ndQuadrant   Baltimore, MD
PostgreSQL Training, Services and Support
g...@2ndquadrant.com  www.2ndQuadrant.com

Reply via email to