From d2a986b74afffbdc3f59258c3dd96d3dc9a238ce Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Wed, 18 Jun 2014 15:16:48 -0400 Subject: [PATCH] Document that jsonb has all the standard comparison operators. --- doc/src/sgml/func.sgml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 5c906f3673..1657a32eb3 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -10159,8 +10159,14 @@ table2-mapping - In addition to those operators common to both types, some additional - operators exist only for jsonb, as shown + The standard comparison operators shown in are available for + jsonb, but not for json. They follow the + ordering rules for btree operations outlined at . + + + Some further operators also exist only for jsonb, as shown in . Many of these operators can be indexed by jsonb operator classes. For a full description of @@ -10181,12 +10187,6 @@ table2-mapping - - = - jsonb - Are the two JSON values equal? - '[1,2,3]'::jsonb = '[1,2,3]'::jsonb - @> jsonb