Joe Conway wrote:
> How can you create an aggregate using an operator as a transition
> function?
>
> =# CREATE AGGREGATE myagg
> -# (
> (# BASETYPE = text,
> (# SFUNC = '||',
> (# STYPE = text,
> (# INITCOND = ''
> (# );
> ERROR: AggregateCreate: function ||(text, text) does not exist
Use the function underlying the operator, in this case textcat.
Regards,
Andreas