Dmitry Tkach <dmitry(at)openratings(dot)com> writes:
> Sorry, it was the same query as before - just had 'COMP%' instead of
> 'POST%':
Oh, I see. How many tradestyle rows actually match "name like 'COMP%'"
and "name like 'POST%'" ? The planner seems to be expecting very few.
regards, tom lane