Victor Yegorov <[email protected]> writes: > How can I enforce pruning to kick in for the initial expressions?
You already found out: use constants. The planner can't remove
partitions on the basis of clauses involving volatile, or even
stable, functions, because their results might be different at
runtime.
regards, tom lane
--
Sent via pgsql-general mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
