Bryce Nesbitt <bryce2@obviously.com> writes:
> I'm a bit confused why the query planner is not restricting my join, and
> not using the index. Two explain analyze statements follow.
Why are the rowcount estimates so far off? Maybe you need to increase
the statistics target for this table.
regards, tom lane