Magnus Hagander <mag...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers