mirror of
https://github.com/postgres/postgres.git
synced 2025-11-28 11:44:57 +03:00
Revise handling of index-type-specific indexscan cost estimation, per
pghackers discussion of 5-Jan-2000. The amopselect and amopnpages estimators are gone, and in their place is a per-AM amcostestimate procedure (linked to from pg_am, not pg_amop).
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/initsplan.c,v 1.41 2000/01/09 00:26:36 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/initsplan.c,v 1.42 2000/01/22 23:50:16 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -257,9 +257,9 @@ add_join_info_to_rels(Query *root, RestrictInfo *restrictinfo,
|
||||
static void
|
||||
set_restrictinfo_joininfo(RestrictInfo *restrictinfo)
|
||||
{
|
||||
if (_enable_mergejoin_)
|
||||
if (enable_mergejoin)
|
||||
check_mergejoinable(restrictinfo);
|
||||
if (_enable_hashjoin_)
|
||||
if (enable_hashjoin)
|
||||
check_hashjoinable(restrictinfo);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user