Hi all,

I was just looking through the new jsonb operators in the 9.5 release, and was 
wondering if there's any future intention to add a delete operator that removes 
element/pair matches?  I.e. some sort of top-level "jsonb - jsonb" operator, 
e.g.


# select '{"a":1, "b":2}'::jsonb - '{"b":2, "a":4}'::jsonb;
?column?
----------
{"a": 1}
(1 row)

Or would this behaviour be classed as incorrect in some way?

Thanks
Glyn


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to