aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Korotkov <akorotkov@postgresql.org>2019-08-07 16:06:45 +0300
committerAlexander Korotkov <akorotkov@postgresql.org>2019-08-07 16:06:45 +0300
commit1f33f211bc531d257f84fefb9208dd43e8718972 (patch)
treec17acd37989bdd8d0c64efdff4174c2a81b92f5e
parent68343b4ad75305391b38f4b42734dc07f2fe7ee2 (diff)
downloadpostgresql-1f33f211bc531d257f84fefb9208dd43e8718972.tar.gz
postgresql-1f33f211bc531d257f84fefb9208dd43e8718972.zip
Fix some typos in jsonpath documentation
Discussion: https://postgr.es/m/8B7FA3B4-328D-43D7-95A8-37B8891B8C78%40winand.at Author: Markus Winand Backpatch-through: 12
-rw-r--r--doc/src/sgml/func.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 7412df0bae6..f1d1005ae2f 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -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 <literal>@@</literal> operator. For example,
- the following<type>jsonpath</type> expression is valid in
+ the following <type>jsonpath</type> expression is valid in
<productname>PostgreSQL</productname>:
<programlisting>
'$.track.segments[*].HR &lt; 70'
@@ -12997,7 +12997,7 @@ table2-mapping
</entry>
<entry>
<para><literal>
- select * jsonb_path_query('{"a":[1,2,3,4,5]}', '$.a[*] ? (@ >= $min &amp;&amp; @ &lt;= $max)', '{"min":2,"max":4}');
+ select * from jsonb_path_query('{"a":[1,2,3,4,5]}', '$.a[*] ? (@ >= $min &amp;&amp; @ &lt;= $max)', '{"min":2,"max":4}');
</literal></para>
</entry>
<entry>