Re: New function pg_stat_statements_reset_query() to reset statistics of a specific query
Haribabu Kommi <kommi.haribabu@gmail.com>
From: Haribabu Kommi <kommi.haribabu@gmail.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>, Sergei Kornilov <sk@zsrv.org>, Vik Fearing <vik.fearing@2ndquadrant.com>, Peter Eisentraut <peter.eisentraut@2ndquadrant.com>,
Michael Paquier <michael@paquier.xyz>, Magnus Hagander <magnus@hagander.net>, Robert Haas <robertmhaas@gmail.com>, Fujii Masao <masao.fujii@gmail.com>, Ashutosh Sharma <ashu.coek88@gmail.com>, Euler Taveira <euler@timbira.com.br>,
Pg Hackers <pgsql-hackers@postgresql.org>, Simon Riggs <simon@2ndquadrant.com>, Dave Page <dpage@pgadmin.org>
Date: 2019-01-08T00:30:23Z
Lists: pgsql-hackers
Attachments
- 0001-Extend-pg_stat_statements_reset-to-reset-statistics_v15.patch (application/octet-stream) patch v15-0001
On Tue, Dec 18, 2018 at 3:53 PM Amit Kapila <amit.kapila16@gmail.com> wrote: > On Wed, Dec 12, 2018 at 3:54 PM Haribabu Kommi <kommi.haribabu@gmail.com> > wrote: > > > > On Thu, Nov 29, 2018 at 1:57 PM Amit Kapila <amit.kapila16@gmail.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
Commits
-
Extend pg_stat_statements_reset to reset statistics specific to a
- 43cbedab8ff1 12.0 landed
-
Default monitoring roles
- 25fff40798fc 10.0 cited