Re: Resetting a single statistics counter - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Resetting a single statistics counter
Date
Msg-id 27528.1264353127@sss.pgh.pa.us
Whole thread Raw
In response to Resetting a single statistics counter  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Resetting a single statistics counter
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> 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.

This is bogus; it assumes tables and functions will not have the same
OIDs.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: Review: listagg aggregate
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Sugerencia de opcion