]> granicus.if.org Git - postgresql/commitdiff
Fixes for jsonpath filter expression elements table in docs
authorAlexander Korotkov <akorotkov@postgresql.org>
Thu, 11 Jul 2019 15:18:15 +0000 (18:18 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Thu, 11 Jul 2019 15:20:38 +0000 (18:20 +0300)
Reported-by: Thom Brown
Discussion: https://postgr.es/m/CAA-aLv4Tggy6Z3kaG9n%2B3SHwOVGN2Yj_MJXfdfwjH_jBNZzJNA%40mail.gmail.com
Backpatch-through: 12

doc/src/sgml/func.sgml

index d798f1a84698805605e6120faf10518c9796705f..8ccb3a5a999ee1a135fd7b1b99332a6e8ceb88cc 100644 (file)
@@ -11989,14 +11989,14 @@ table2-mapping
         <entry>Less-than operator</entry>
         <entry><literal>[1, 2, 3]</literal></entry>
         <entry><literal>$[*] ? (@ &lt; 2)</literal></entry>
-        <entry><literal>1, 2</literal></entry>
+        <entry><literal>1</literal></entry>
        </row>
        <row>
         <entry><literal>&lt;=</literal></entry>
         <entry>Less-than-or-equal-to operator</entry>
         <entry><literal>[1, 2, 3]</literal></entry>
-        <entry><literal>$[*] ? (@ &lt; 2)</literal></entry>
-        <entry><literal>1</literal></entry>
+        <entry><literal>$[*] ? (@ &lt;= 2)</literal></entry>
+        <entry><literal>1, 2</literal></entry>
        </row>
        <row>
         <entry><literal>&gt;</literal></entry>
@@ -12006,7 +12006,7 @@ table2-mapping
         <entry><literal>3</literal></entry>
        </row>
        <row>
-        <entry><literal>&gt;</literal></entry>
+        <entry><literal>&gt;=</literal></entry>
         <entry>Greater-than-or-equal-to operator</entry>
         <entry><literal>[1, 2, 3]</literal></entry>
         <entry><literal>$[*] ? (@ &gt;= 2)</literal></entry>