tyle-type: disc; "><li class="listitem"><p>
      Constraint exclusion is only applied during query planning, unlike
      partition pruning, which can also be applied during query execution.
     </p></li><li class="listitem"><p>
      Constraint exclusion only works when the query's <code class="literal">WHERE</code>
      clause contains constants (or externally supplied parameters).
      For example, a comparison against a non-immutable function such as
      <code class="function">CURRENT_TIMESTAMP</c