Stephen Frost <sfr...@snowman.net> writes:
>   This doesn't seem right to me:

> postgres=# select
> postgres-# string_agg(column1::text order by column1 asc,',')
> postgres-# from (values (3),(4),(1),(2)) a;
>  string_agg 
> ------------
>  1234
> (1 row)

Looks fine to me: you have two ordering columns (the second rather
useless,  but that's no matter).

                        regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to