]> 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:21 +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 789ca630d2c1901c58075d3c26c3b25847790c7a..a25c122ac8f5a18c530443ed9bbfb5b8729e5670 100644 (file)
@@ -11965,14 +11965,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>
@@ -11982,7 +11982,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>