Dmitry Tkach <dmitry(at)openratings(dot)com> writes:> Did you vacuum it?
Even more to the point: vacuum analyze.
The described behavior sounds like the default assumptions in theabsence of any ANALYZE statistics ...
regards, tom lane