Vous pouvez utiliser string_agg
à la place.
Configuration du schéma PostgreSQL 9.1.6 :
create table T
(
Name varchar(10)
);
insert into T values('Kalle');
insert into T values('Pelle');
insert into T values('Urban');
Requête 1 :
select string_agg(Name, ',') as Names
from T
| NAMES |
---------------------
| Kalle,Pelle,Urban |