On Sun, Apr 24, 2016 at 8:16 PM, Andrew Dunstan <and...@dunslane.net> wrote: > Note that the json type, unlike jsonb, preserves exactly the white space and > key order of its input. In fact, the input is exactly what it stores.
That is true, but the json serialization functions (to_json etc) really out to have the same whitespace strategy is jsonb text out. Of the two ways it's currently done, the json serialization variant seems better but a completely compact variant seems like a good idea basis of efficiency. merlin -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers