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

From Alvaro Herrera
Subject Re: New function pg_stat_statements_reset_query() to resetstatistics of a specific query
Date
Msg-id 20181219111459.x7ti3ibr3t35pvtr@alvherre.pgsql
Whole thread Raw
In response to Re: New function pg_stat_statements_reset_query() to resetstatistics of a specific query  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
List pgsql-hackers
On 2018-Dec-17, Kyotaro HORIGUCHI wrote:

> Although #1 seems cleaner to me, the fear of inadvertent removal
> of all queries with quite-common usage wins.  So I vote for #4
> for now, supposing pg_stat_statements_reset(0, 0, 0) as
> all-clear.

Right -- also keeping in mind that 0 is the default value too, so the
old spelling of pg_stat_statements_reset() has the same behavior as
previously, ie., remove everything.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: What to name the current heap after pluggable storage / what torename?
Next
From: Andres Freund
Date:
Subject: Re: What to name the current heap after pluggable storage / what torename?