Torsten Förtsch wrote
> cross join lateral (
> select string_agg(', ', syms.sym ->> 'x') as xx
> from json_array_elements(t.el -> 's')
> syms(sym)
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.
David J.
--
View this message in context: http://postgresql.nabble.com/9-3-bug-related-to-json-tp5839261p5839310.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.