Du kan bruge string_agg
i stedet.
PostgreSQL 9.1.6 Schema Setup :
create table T
(
Name varchar(10)
);
insert into T values('Kalle');
insert into T values('Pelle');
insert into T values('Urban');
Forespørgsel 1 :
select string_agg(Name, ',') as Names
from T
| NAMES |
---------------------
| Kalle,Pelle,Urban |