Re: Resetting a single statistics counter - Mailing list pgsql-hackers

From Euler Taveira de Oliveira
Subject Re: Resetting a single statistics counter
Date
Msg-id 4B5C8B94.8000309@timbira.com
Whole thread Raw
In response to Re: Resetting a single statistics counter  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Resetting a single statistics counter
List pgsql-hackers
Magnus Hagander escreveu:
>> Off to make it two separate functions.. (seems much more user-friendly
>> than a single function with an extra argument, IMHO)
> 
+1. But as Simon said _single_ is too ugly. What about
pg_stat_reset_user_{function,relation}?

Another thing that is not a problem of your patch but it needs to be fixed is
that resetting functions remove the line from pg_stat_user_functions; that a
different behavior from other pg_stat_user_* functions.


--  Euler Taveira de Oliveira http://www.timbira.com/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Resetting a single statistics counter
Next
From: Tom Lane
Date:
Subject: Re: Largeobject Access Controls (r2460)