On 25/02/15 07:22, David G Johnston wrote: > I'm doubting you intended to join a bunch of commas using the field value as > the delimiter...methinks your got the argument order reversed for > string_agg. OMG, I am so stupid. Thanks. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general