Re: Resetting a single statistics counter

Поиск
Список
Период
Сортировка
От Euler Taveira de Oliveira
Тема Re: Resetting a single statistics counter
Дата
Msg-id 4B5C8B94.8000309@timbira.com
обсуждение исходный текст
Ответ на Re: Resetting a single statistics counter  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Resetting a single statistics counter  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Resetting a single statistics counter
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Largeobject Access Controls (r2460)