Re: CREATE AGGREGATE array_cat

Поиск
Список
Период
Сортировка
От Vik Fearing
Тема Re: CREATE AGGREGATE array_cat
Дата
Msg-id e4ed6185-370a-f145-edea-5942fb705686@postgresfriends.org
обсуждение исходный текст
Ответ на Re: CREATE AGGREGATE array_cat  (Chapman Flack <chap@anastigmatix.net>)
Ответы Re: CREATE AGGREGATE array_cat
Список pgsql-hackers
On 11/19/20 1:54 AM, Chapman Flack wrote:
> On 11/18/20 19:46, David G. Johnston wrote:
> 
>> I doubt there is any substantial resistance to including such a function
>> but it would have to be written in C.
> 
> Would anything have to be written at all, save the CREATE AGGREGATE
> suggested in the original message, using the existing array_cat as the
> state transition function?
Nope.  As my example showed.

One could imagine extending it with an inverse transition function for
use in windows (small w) but that's about it.
-- 
Vik Fearing



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: CREATE AGGREGATE array_cat
Следующее
От: Chapman Flack
Дата:
Сообщение: speaking of CREATE AGGREGATE ...