Andreas Pflug wrote:
> 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.
>
Right, but Peter's desire is to *not document* the underlying function
(this was just an example, we're really discussing the new array
functions array_accum and/or array_append), and my point is that it
needs to be documented if we expect people to use it.
Joe