Marc Wrubleski <mlwruble(at)sorexsoftware(dot)com> writes:
> A good ( and simple ) lesson to be learned here. The poor performance
> was because I did not run vacuum analyse on the db.
Hmm ... that should have shown up in different plans. Didn't you say
that you had checked the plans were the same?
regards, tom lane