Tom Lane escribió:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> >> Given that the worst-case consequence is extra index vacuum passes,
> >> which don't hurt that much when a table is small, maybe some smaller
> >> estimate like 100 TIDs per page would be enough. Or, instead of
> >> using a hard-wired constant, look at pg_class.reltuples/relpages
> >> to estimate the average tuple density ...
>
> > This sounds like a reasonable compromise.
>
> Do you want to make it happen?
OK, I'll work on it tomorrow.
--
Alvaro Herrera http://www.PlanetPostgreSQL.org/
Hi! I'm a .signature virus!
cp me into your .signature file to help me spread!