Sam Mason <sam@samason.me.uk> writes:
> The planner (in PG version 8.0.2) is choosing what it thinks is a more
> expensive plan.
I fooled around trying to duplicate this behavior, without success.
Can you create a self-contained test case?
regards, tom lane