pgsql/src/backend/optimizer/path costsize.c

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/optimizer/path costsize.c
Date: 2001-06-10 02:59:35
Message-ID: 200106100259.f5A2xZZ94445@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)org 01/06/09 22:59:35

Modified files:
src/backend/optimizer/path: costsize.c

Log message:
Fix thinko in hash cost estimation: average frequency
should be computed from total number of distinct values in whole
relation, not # distinct values we expect to have after restriction
clauses are applied.

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2001-06-10 03:46:32 pgsql/doc/src/sgml/ref create_trigger.sgml psq ...
Previous Message Bruce Momjian - CVS 2001-06-10 02:58:52 pgsql/doc TODO