Document that jsonb has all the standard comparison operators.
authorAndrew Dunstan
Wed, 18 Jun 2014 19:16:48 +0000 (15:16 -0400)
committerAndrew Dunstan
Wed, 18 Jun 2014 19:18:22 +0000 (15:18 -0400)
doc/src/sgml/func.sgml

index 5c906f36732ce809491fcb082f43bbe427b48d29..1657a32eb3cbe1c0fb665f2100cdb32279f982ed 100644 (file)
@@ -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  
+   linkend="functions-comparison-table"> are available for 
+   jsonb, but not for json. They follow the 
+   ordering rules for btree operations outlined at 
+   linkend="json-indexing">.
+  
+  
+   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