Re: CREATE AGGREGATE array_cat - Mailing list pgsql-hackers

From Vik Fearing
Subject Re: CREATE AGGREGATE array_cat
Date
Msg-id e4ed6185-370a-f145-edea-5942fb705686@postgresfriends.org
Whole thread Raw
In response to Re: CREATE AGGREGATE array_cat  (Chapman Flack <chap@anastigmatix.net>)
Responses Re: CREATE AGGREGATE array_cat
List 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 by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: CREATE AGGREGATE array_cat
Next
From: Chapman Flack
Date:
Subject: speaking of CREATE AGGREGATE ...