diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-01-28 22:13:41 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-01-28 22:13:41 +0000 |
| commit | 2e46b762eb1c15de2bcda785469a753a753747fb (patch) | |
| tree | 54bb20d645df6e5bede49e6c405a93b137c65a20 /doc/src/sgml | |
| parent | 955a1f81a702489102b2526e24631b9f51e14247 (diff) | |
Extend join-selectivity API (oprjoin interface) so that join type is
passed to join selectivity estimators. Make use of this in eqjoinsel
to derive non-bogus selectivity for IN clauses. Further tweaking of
cost estimation for IN.
initdb forced because of pg_proc.h changes.
Diffstat (limited to 'doc/src/sgml')
| -rw-r--r-- | doc/src/sgml/indexcost.sgml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/sgml/indexcost.sgml b/doc/src/sgml/indexcost.sgml index 1211653edd2..6c8c940c100 100644 --- a/doc/src/sgml/indexcost.sgml +++ b/doc/src/sgml/indexcost.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/Attic/indexcost.sgml,v 2.14 2003/01/14 10:19:02 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/Attic/indexcost.sgml,v 2.15 2003/01/28 22:13:24 tgl Exp $ --> <chapter id="indexcost"> @@ -205,7 +205,8 @@ amcostestimate (Query *root, <programlisting> *indexSelectivity = clauselist_selectivity(root, indexQuals, - lfirsti(rel->relids)); + lfirsti(rel->relids), + JOIN_INNER); </programlisting> </para> </step> |
