Re: CREATE AGGREGATE array_cat

From: Vik Fearing <vik(at)postgresfriends(dot)org>
To: Chapman Flack <chap(at)anastigmatix(dot)net>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: Vlad Bokov <vlad(at)razum2um(dot)me>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: CREATE AGGREGATE array_cat
Date: 2020-11-19 00:59:31
Message-ID: e4ed6185-370a-f145-edea-5942fb705686@postgresfriends.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chapman Flack 2020-11-19 01:17:00 speaking of CREATE AGGREGATE ...
Previous Message David G. Johnston 2020-11-19 00:57:29 Re: CREATE AGGREGATE array_cat