"David Blood" <david(at)matraex(dot)com> writes:
> Anyone know a better way to run this query to make it faster.
> SET ENABLE_SEQSCAN TO OFF;
Are you sure that's a good idea? The plan looks to me like it would be
better off *without* indexscans.
How many rows are you expecting to get out of the join?
regards, tom lane