Re: How to create an aggregate?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to create an aggregate?
Дата
Msg-id 4899.1091235039@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to create an aggregate?  (Ray Aspeitia <aspeitia@sells.com>)
Ответы Re: How to create an aggregate?
Список pgsql-sql
Ray Aspeitia <aspeitia@sells.com> writes:
> I also would like to pass the delimiter to the aggregate as a parameter 
> and I am not sure if it can handle that.

It can't.  You'll need a single-argument finalfunc that hardwires the
delimiter, ie,      array_to_string($1, '|')
        regards, tom lane


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

Предыдущее
От: Ray Aspeitia
Дата:
Сообщение: How to create an aggregate?
Следующее
От: Patrice OLIVER
Дата:
Сообщение: Need help form inherits