pgsql: Fix set_joinrel_size_estimates() to estimate outer-join sizes

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix set_joinrel_size_estimates() to estimate outer-join sizes
Date: 2006-11-10 01:21:41
Message-ID: 20061110012141.56D7E9FB256@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix set_joinrel_size_estimates() to estimate outer-join sizes more
accurately: we have to distinguish the effects of the join's own ON
clauses from the effects of pushed-down clauses. Failing to do so
was a quick hack long ago, but it's time to be smarter. Per example
from Thomas H.

Modified Files:
--------------
pgsql/src/backend/optimizer/path:
costsize.c (r1.167 -> r1.168)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/path/costsize.c.diff?r1=1.167&r2=1.168)

Browse pgsql-committers by date

  From Date Subject
Next Message Neil Conway 2006-11-10 06:28:29 pgsql: Minor code cleanup for pgcrypto: for UDFs declared to be strict,
Previous Message User Mha 2006-11-09 19:59:57 pginstaller - pginst: German translation updates from Harald