Jens-Wolfhard Schicke <ml+pgsql-performance(at)asco(dot)de> writes:
> Is it possible to have the planner consider the second plan instead of the
> first?
At the moment, only if you get rid of the inheritance. The planner's
not very smart at all when faced with joining inheritance trees.
regards, tom lane