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: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, sk(at)zsrv(dot)org, 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: 2018-09-25 03:49:09
Message-ID: CAJrrPGdjNDv-7GSdZ0fhdovCTsazk8z4XE2ZGtcRMkv3DpREZw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 25, 2018 at 1:39 AM Michael Paquier <michael(at)paquier(dot)xyz> wrote:

> On Mon, Sep 24, 2018 at 12:19:44PM +1000, Haribabu Kommi wrote:
> > Attached new rebased version of the patch that enhances the
> > pg_stat_statements_reset()
> > function. This needs to be applied on top of the patch that is posted in
> > [1].
>
> +CREATE ROLE stats_regress_user1;
> +CREATE ROLE stats_regress_user2;
> Just a short note: regression tests creating roles should use regress_
> as prefix.
>

Thanks for the review.
Fixed in the attached patch as per your suggestion.

Regards,
Haribabu Kommi
Fujitsu Australia

Attachment Content-Type Size
0001-pg_stat_statements_reset-to-reset-specific-query-use_v6.patch application/octet-stream 19.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Gierth 2018-09-25 04:16:27 Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options
Previous Message Kyotaro HORIGUCHI 2018-09-25 03:48:57 Re: SSL tests failing with "ee key too small" error on Debian SID