Fix some typos in jsonpath documentation
authorAlexander Korotkov
Wed, 7 Aug 2019 13:06:45 +0000 (16:06 +0300)
committerAlexander Korotkov
Wed, 7 Aug 2019 13:06:45 +0000 (16:06 +0300)
Discussion: https://postgr.es/m/8B7FA3B4-328D-43D7-95A8-37B8891B8C78%40winand.at
Author: Markus Winand
Backpatch-through: 12

doc/src/sgml/func.sgml

index 7412df0bae6d0019fcd7ca17637f04ad55aebe27..f1d1005ae2f884009538c28b17520147d47575c3 100644 (file)
@@ -11735,7 +11735,7 @@ table2-mapping
      A path expression can be a Boolean predicate, although the SQL/JSON
      standard allows predicates only in filters.  This is necessary for
      implementation of the @@ operator. For example,
-     the followingjsonpath expression is valid in
+     the following jsonpath expression is valid in
      PostgreSQL:
 
 '$.track.segments[*].HR < 70'
@@ -12997,7 +12997,7 @@ table2-mapping
         
         
          
-           select * jsonb_path_query('{"a":[1,2,3,4,5]}', '$.a[*] ? (@ >= $min && @ <= $max)', '{"min":2,"max":4}');
+           select * from jsonb_path_query('{"a":[1,2,3,4,5]}', '$.a[*] ? (@ >= $min && @ <= $max)', '{"min":2,"max":4}');