> 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 -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance