> Funny thing is, if I set constraint_exclusion=on, it works as
> expected. But not with constraint_exclusion=partition.
The difference between "on" and "partition" is how it treats UNION.
This seems to be working as designed.
--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com