Re: array functions - request for opinions (was Re: [PATCHES]

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: array functions - request for opinions (was Re: [PATCHES]
Дата
Msg-id 3ED23A4A.1030107@web.de
обсуждение исходный текст
Ответ на Re: array functions - request for opinions (was Re: [PATCHES]  (Joe Conway <mail@joeconway.com>)
Ответы Re: array functions - request for opinions (was Re: [PATCHES]  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
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




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: IS OF
Следующее
От: Joe Conway
Дата:
Сообщение: Re: array functions - request for opinions (was Re: [PATCHES]