>I'm curious to see if Aaron can test his structure on 9.3 with the >original data and WHERE clause and see if the planner still goes for >the >terrible plan. If it does, that would seem like an obvious planner >tweak >to me. I will try to spin up a test 9.3 db and run the same queries to see if this is the case. Least I can do in return for the help.