On Sat, Jan 15, 2011 at 01:35:20AM +0300, Dmitriy Igrishin wrote: > Try SELECT item_id, array_agg(arrayofstuff::text) from eg1 WHERE class_id = > 1; Doh! That's it. Thanks! A -- Andrew Sullivan ajs@xxxxxxxxxxxxxxx -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general