"kevin kempter" <kevin@kevinkempterllc.com> writes:
> that the planner wants to do a sequential scan on each partition. We do have
> "constraint_elimination = on" set in the postgresql.conf file.
"constraint_exclusion" btw.
> myDB=# explain SELECT min(logdate) FROM part_master;
Er, yeah. Unfortunately this is just not a kind of query our planner knows how
to optimize when dealing with a partitioned table... yet. There are several
different pieces missing to make this work. There's some hope some of them
might show up for 8.4 but no guarantees.
--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Ask me about EnterpriseDB's Slony Replication support!