Greg Stark wrote:
> Is this example helpful?
Yes, perfect! Thank you.
cl.
>
> create function concat_agg_accum(varchar, varchar) returns varchar
> as 'select $1 || '', '' || $2'
> language sql
> strict immutable;
>
> create aggregate concat_agg (
> basetype = varchar,
> stype = varchar,
> sfunc = concat_agg_accum
> );
>