Resetting a single statistics counter - Mailing list pgsql-hackers

From Magnus Hagander
Subject Resetting a single statistics counter
Date
Msg-id 9837222c1001240837r5c103519lc6a74c37be5f1831@mail.gmail.com
Whole thread Raw
Responses Re: Resetting a single statistics counter  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
In the spirit of finishing off small patches, attached is the one that
implements pg_stat_reset_single(), to be able to reset stats for a
single table or function. I kind of thought it would be included in
the patch from Greg Smith for shared counters so I put it aside, but I
guess I misunderstood him there. Anyway, I polished off the final
part, and here it is.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: commit fests
Next
From: "David E. Wheeler"
Date:
Subject: Re: Review: listagg aggregate