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

Started by Tom Laneabout 25 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl@hub.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.