Doh! I set enable_seqscan = off and things are snappy again.
Same problem though, how can I fix the query so the optimizer comes to the same conclusion?
Thanks,
Ian A. Harding
Programmer/Analyst II
Tacoma-Pierce County Health Department
(253) 798-3549
mailto: iharding@tpchd.org