mlw <markw(at)mohawksoft(dot)com> writes:
> ... Postgres' statistics are pretty poor too, a relative few very
> populous entries in a table will make it virtually impossible for the
> cost based optimizer (CBO) to use an index.
Have you looked at development sources lately?
regards, tom lane