| От | Tom Lane |
|---|---|
| Тема | Re: Resetting a single statistics counter |
| Дата | |
| Msg-id | 27528.1264353127@sss.pgh.pa.us обсуждение |
| Ответ на | Resetting a single statistics counter (Magnus Hagander <magnus@hagander.net>) |
| Ответы |
Re: Resetting a single statistics counter
|
| Список | pgsql-hackers |
Magnus Hagander <magnus@hagander.net> writes:
> In the spirit of finishing off small patches, attached is the one that
> implements pg_stat_reset_single(), to be able to reset stats for a
> single table or function. I kind of thought it would be included in
> the patch from Greg Smith for shared counters so I put it aside, but I
> guess I misunderstood him there. Anyway, I polished off the final
> part, and here it is.
This is bogus; it assumes tables and functions will not have the same
OIDs.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера