diff options
Diffstat (limited to 'src/backend/optimizer/path/allpaths.c')
-rw-r--r-- | src/backend/optimizer/path/allpaths.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/optimizer/path/allpaths.c b/src/backend/optimizer/path/allpaths.c index 90d75099be3..c11f5cf7c85 100644 --- a/src/backend/optimizer/path/allpaths.c +++ b/src/backend/optimizer/path/allpaths.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/optimizer/path/allpaths.c,v 1.27 1999/02/10 21:02:36 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/optimizer/path/allpaths.c,v 1.28 1999/02/12 05:56:49 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -139,7 +139,7 @@ find_rel_paths(Query *root, List *rels) lastpath = rel->pathlist; while (lnext(lastpath) != NIL) lastpath = lnext(lastpath); - prune_rel_path(rel, (Path *) lfirst(lastpath)); + set_cheapest(rel, rel->pathlist); /* * if there is a qualification of sequential scan the selec. value @@ -223,7 +223,7 @@ find_join_paths(Query *root, List *outer_rels, int levels_needed) xfunc_trypullup((RelOptInfo *) lfirst(x)); #endif - prune_rel_paths(new_rels); + rels_set_cheapest(new_rels); if (BushyPlanFlag) { |