can one speed up a custom aggregate by using native ones

Поиск
Список
Период
Сортировка
От Rhys A.D. Stewart
Тема can one speed up a custom aggregate by using native ones
Дата
Msg-id CACg0vTmMNFoHKdSLatYesj2rs=HmKVWuf_ToVXinE21VJWP-8A@mail.gmail.com
обсуждение исходный текст
Список pgsql-general
Greetings, 

I have an aggregate function which basically concatenates a whole bunch of rows (that would be the sfunc)  and then  wraps it in a header and footer (the finalunc). It is however for fairly large set many orders of magnitude slower than running string_agg and then the finalfunc.

Is there anyway to use the builtin functions say in the aggregate function definition. Or any other way to speed them up?


Regards,


Rhys
Peace & Love|Live Long & Prosper

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

Предыдущее
От: Steve Crawford
Дата:
Сообщение: Re: data type - import problem
Следующее
От: News Subsystem
Дата:
Сообщение: ...