Skip to content

Commit ea05b22

Browse files
committed
Clarify docs about limitations of constraint exclusion with partitions
The current wording can confuse the reader about constraint exclusion being available at query execution, but this only applies to partition pruning. Reported-by: Shouyu Luo Author: David Rowley Reviewed-by: Chapman Flack, Amit Langote Discussion: https://postgr.es/m/15629-2ef8b22e61f8333f@postgresql.org
1 parent 74dfe58 commit ea05b22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/ddl.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4511,8 +4511,8 @@ EXPLAIN SELECT count(*) FROM measurement WHERE logdate >= DATE '2008-01-01';
45114511
<itemizedlist>
45124512
<listitem>
45134513
<para>
4514-
Constraint exclusion is only applied during query planning; unlike
4515-
partition pruning, it cannot be applied during query execution.
4514+
Constraint exclusion is only applied during query planning, unlike
4515+
partition pruning, which can also be applied during query execution.
45164516
</para>
45174517
</listitem>
45184518

0 commit comments

Comments
 (0)