From 71ed7eb4941ddb32700a51a8b8b3403eceeca4a9 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 22 Jan 2000 23:50:30 +0000 Subject: 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). --- src/backend/optimizer/path/joinpath.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/optimizer/path/joinpath.c') diff --git a/src/backend/optimizer/path/joinpath.c b/src/backend/optimizer/path/joinpath.c index 5c7df62fa20..f29a5cc8163 100644 --- a/src/backend/optimizer/path/joinpath.c +++ b/src/backend/optimizer/path/joinpath.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/optimizer/path/joinpath.c,v 1.47 2000/01/09 00:26:33 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/optimizer/path/joinpath.c,v 1.48 2000/01/22 23:50:15 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -102,7 +102,7 @@ update_rels_pathlist_for_joins(Query *root, List *joinrels) /* * Find potential mergejoin clauses. */ - if (_enable_mergejoin_) + if (enable_mergejoin) mergeclause_list = select_mergejoin_clauses(joinrel->restrictinfo); /* @@ -141,7 +141,7 @@ update_rels_pathlist_for_joins(Query *root, List *joinrels) * 4. Consider paths where both outer and inner relations must be * hashed before being joined. */ - if (_enable_hashjoin_) + if (enable_hashjoin) pathlist = add_pathlist(joinrel, pathlist, hash_inner_and_outer(root, joinrel, outerrel, -- cgit v1.2.3