Commit ea05b221 authored by Michael Paquier's avatar Michael Paquier

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
parent 74dfe58a
...@@ -4511,8 +4511,8 @@ EXPLAIN SELECT count(*) FROM measurement WHERE logdate >= DATE '2008-01-01'; ...@@ -4511,8 +4511,8 @@ EXPLAIN SELECT count(*) FROM measurement WHERE logdate >= DATE '2008-01-01';
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
Constraint exclusion is only applied during query planning; unlike Constraint exclusion is only applied during query planning, unlike
partition pruning, it cannot be applied during query execution. partition pruning, which can also be applied during query execution.
</para> </para>
</listitem> </listitem>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment