pgsql: Add a fudge factor to genericcostestimate() to prevent the

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add a fudge factor to genericcostestimate() to prevent the
Date: 2006-07-24 01:19:48
Message-ID: 20060724011948.7B7689FA61D@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Add a fudge factor to genericcostestimate() to prevent the planner from
thinking that indexes of different sizes are equally attractive. Per
gripe from Jim Nasby. (I remain unconvinced that there's such a problem
in existing releases, but CVS HEAD definitely has got a problem because
of its new count-only-leaf-pages approach to indexscan costing.)

Modified Files:
--------------
pgsql/src/backend/utils/adt:
selfuncs.c (r1.209 -> r1.210)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/selfuncs.c.diff?r1=1.209&r2=1.210)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2006-07-24 01:50:23 pgsql: Remove dubious and redundant (we think) setting of libdir in PATH
Previous Message Tom Lane 2006-07-23 23:08:46 pgsql: Convert the lock manager to use the new dynahash.c support for