Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query - Mailing list pgsql-hackers

From Jeremy Schneider
Subject Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query
Date
Msg-id 3A3431D8-3380-48A9-8E5B-26953DACFA96@ardentperf.com
Whole thread Raw
In response to New function pg_stat_statements_reset_query() to reset statistics ofa specific query  (Haribabu Kommi <kommi.haribabu@gmail.com>)
List pgsql-hackers
> On Jun 20, 2018, at 12:30 AM, Haribabu Kommi <kommi.haribabu@gmail.com> wrote:
>
> Attached is a simple patch with implementation. Comments?

Seems useful to me too! What are the odds we could have a column telling the timestamp when a particular query was last
reset?Would that be complicated to add? 

-Jeremy

pgsql-hackers by date:

Previous
From: Liudmila Mantrova
Date:
Subject: Re: documentation is now XML
Next
From: Pavel Stehule
Date:
Subject: Re: ToDo: show size of partitioned table