"PostgreSQL" <martin(at)portant(dot)com> writes:
> This is a pretty good example of the place where 8.1 seems to be quite
> broken.
That's a bit of a large claim on the basis of one data point.
Did you remember to re-ANALYZE after loading the table into the
new database?
regards, tom lane