jsonb - jsonb operators

Поиск
Список
Период
Сортировка
От Glyn Astill
Тема jsonb - jsonb operators
Дата
Msg-id 1100702023.9060696.1452865419523.JavaMail.yahoo@mail.yahoo.com
обсуждение исходный текст
Ответы Re: jsonb - jsonb operators  (Merlin Moncure <mmoncure@gmail.com>)
Re: jsonb - jsonb operators  (Vitaly Burovoy <vitaly.burovoy@gmail.com>)
Список pgsql-hackers
Hi all,

I was just looking through the new jsonb operators in the 9.5 release, and was wondering if there's any future
intentionto 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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Etsuro Fujita
Дата:
Сообщение: Minor documentation tweak to GetForeignPlan documentation
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Combining Aggregates