diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-09-25 13:44:43 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-09-25 13:44:43 +0900 |
commit | 37ad1266147626bfe505b2c5b016497605915a8e (patch) | |
tree | 45cdb889799e6db9bfc565e33d28d8b0c4ce1906 | |
parent | 707f38e38e8d4ee891bf52c2f9684f87c72b5234 (diff) | |
download | postgresql-37ad1266147626bfe505b2c5b016497605915a8e.tar.gz postgresql-37ad1266147626bfe505b2c5b016497605915a8e.zip |
Doc: Fix example related to partition pruning
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
-rw-r--r-- | doc/src/sgml/ddl.sgml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml index b2bab81840c..d7158c1b034 100644 --- a/doc/src/sgml/ddl.sgml +++ b/doc/src/sgml/ddl.sgml @@ -4525,9 +4525,8 @@ EXPLAIN SELECT count(*) FROM measurement WHERE logdate >= DATE '2008-01-01'; QUERY PLAN ----------------------------------------------------------------------------------- Aggregate (cost=37.75..37.76 rows=1 width=8) - -> Append (cost=0.00..36.21 rows=617 width=0) - -> Seq Scan on measurement_y2008m01 (cost=0.00..33.12 rows=617 width=0) - Filter: (logdate >= '2008-01-01'::date) + -> Seq Scan on measurement_y2008m01 (cost=0.00..33.12 rows=617 width=0) + Filter: (logdate >= '2008-01-01'::date) </programlisting> </para> |