]> granicus.if.org Git - postgresql/commitdiff
Doc: Fix example related to partition pruning
authorMichael Paquier <michael@paquier.xyz>
Wed, 25 Sep 2019 04:44:43 +0000 (13:44 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 25 Sep 2019 04:44:43 +0000 (13:44 +0900)
Append node has been removed in v12 when there would be only one subnode
under it.

Author: Amit Langote
Discussion: https://postgr.es/m/CA+HiwqHhS62w8zUFXF4NBjvMboCXYnD-jWoWp-tfo2aHvP3Gxg@mail.gmail.com
Backpatch-through: 12

doc/src/sgml/ddl.sgml

index b2bab81840cddc0ec6ee9530f2ea466455a61b85..d7158c1b034b18e67635230456156fc64995b34d 100644 (file)
@@ -4525,9 +4525,8 @@ EXPLAIN SELECT count(*) FROM measurement WHERE logdate &gt;= DATE '2008-01-01';
                                     QUERY PLAN
 -----------------------------------------------------------------------------------
  Aggregate  (cost=37.75..37.76 rows=1 width=8)
-   -&gt;  Append  (cost=0.00..36.21 rows=617 width=0)
-         -&gt;  Seq Scan on measurement_y2008m01  (cost=0.00..33.12 rows=617 width=0)
-               Filter: (logdate &gt;= '2008-01-01'::date)
+   -&gt;  Seq Scan on measurement_y2008m01  (cost=0.00..33.12 rows=617 width=0)
+         Filter: (logdate &gt;= '2008-01-01'::date)
 </programlisting>
    </para>