Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query

From: Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>
To: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Sergei Kornilov <sk(at)zsrv(dot)org>, Vik Fearing <vik(dot)fearing(at)2ndquadrant(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Magnus Hagander <magnus(at)hagander(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Ashutosh Sharma <ashu(dot)coek88(at)gmail(dot)com>, Euler Taveira <euler(at)timbira(dot)com(dot)br>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Dave Page <dpage(at)pgadmin(dot)org>
Subject: Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query
Date: 2019-01-08 00:30:23
Message-ID: CAJrrPGf6pwoXa1N-68eyTJ-cT_0Q8zR7+1++bkhS1WWrNROD1Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Dec 18, 2018 at 3:53 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:

> On Wed, Dec 12, 2018 at 3:54 PM Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>
> wrote:
> >
> > On Thu, Nov 29, 2018 at 1:57 PM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
> wrote:
> >> >
> >>
> >> Agreed. Hari, can you change the patch as per the requirements of
> option-4.
> >
> >
> > Apologies for delay. Thanks to all your opinions.
> >
> > Attached is the updated patch as per the option-4 and added a test also
> to ensure
> > the function strictness.
> >
>
> Can you add a few examples in the documentation? See if it is
> possible to extend the existing documentation section (F.29.4),
> otherwise, add a new section.
>

Apologies for the delay.
Attached the updated patch with addition of few examples usage
of pg_stat_statements_reset() function with new parameters to the
existing sample output.

Regards,
Haribabu Kommi
Fujitsu Australia

Attachment Content-Type Size
0001-Extend-pg_stat_statements_reset-to-reset-statistics_v15.patch application/octet-stream 26.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2019-01-08 00:31:59 Re: Displaying and dumping of table access methods
Previous Message Stephen Frost 2019-01-08 00:19:46 Re: Displaying and dumping of table access methods