On Mon, Feb 4, 2013 at 2:10 PM, Andrew Dunstan <and...@dunslane.net> wrote: > >> My only remaining nit with the proposal is with json_unnest(). >> >> SQL unnest() produces list of scalars regardless of dimensionality -- >> json unnest unwraps one level only (contrast: pl/pgsql array 'slice'). >> So I think 'json_array_each', or perhaps json_slice() is a better fit >> there. >> > > > how about json_array_elements()?
that works (although it's a little verbose for my taste). maybe json_unwrap, json_array_unwrap, etc. merlin -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers