Re: BUG #14162: No statistics for functions used as aggregates

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: BUG #14162: No statistics for functions used as aggregates
Дата
Msg-id CAB7nPqR=bRraNG2Vp4FUukjA9QOJsRouh-skGzRjrtHR9ArQNA@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #14162: No statistics for functions used as aggregates  (dmigowski@ikoffice.de)
Ответы Re: BUG #14162: No statistics for functions used as aggregates  (Daniel Migowski <dmigowski@ikoffice.de>)
Список pgsql-bugs
On Sat, May 28, 2016 at 10:52 PM,  <dmigowski@ikoffice.de> wrote:
> I created some user defined aggregate with a user defined plpgsql SFUNC.
>
> The calls to plpgsql functions used in these aggregates are not counted by
> the statistics collector when the aggregate is used, but calling them
> directly will work.

Are you sure that track_functions is enabled? If it disabled by
default. In order to track the number of calls of user-defined
functions it needs to be set to "pl" or "all".
--
Michael

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Mark Kirkwood
Дата:
Сообщение: Re: ram consumption
Следующее
От: Daniel Migowski
Дата:
Сообщение: Re: BUG #14162: No statistics for functions used as aggregates