@@ -280,7 +280,7 @@ static Material *make_material(Plan *lefttree);
280280static Memoize * make_memoize (Plan * lefttree , Oid * hashoperators ,
281281 Oid * collations , List * param_exprs ,
282282 bool singlerow , bool binary_mode ,
283- uint32 est_entries , Bitmapset * keyparamids );
283+ uint32 est_entries );
284284static WindowAgg * make_windowagg (List * tlist , Index winref ,
285285 int partNumCols , AttrNumber * partColIdx , Oid * partOperators , Oid * partCollations ,
286286 int ordNumCols , AttrNumber * ordColIdx , Oid * ordOperators , Oid * ordCollations ,
@@ -1586,7 +1586,6 @@ static Memoize *
15861586create_memoize_plan (PlannerInfo * root , MemoizePath * best_path , int flags )
15871587{
15881588 Memoize * plan ;
1589- Bitmapset * keyparamids ;
15901589 Plan * subplan ;
15911590 Oid * operators ;
15921591 Oid * collations ;
@@ -1618,11 +1617,9 @@ create_memoize_plan(PlannerInfo *root, MemoizePath *best_path, int flags)
16181617 i ++ ;
16191618 }
16201619
1621- keyparamids = pull_paramids ((Expr * ) param_exprs );
1622-
16231620 plan = make_memoize (subplan , operators , collations , param_exprs ,
16241621 best_path -> singlerow , best_path -> binary_mode ,
1625- best_path -> est_entries , keyparamids );
1622+ best_path -> est_entries );
16261623
16271624 copy_generic_path_info (& plan -> plan , (Path * ) best_path );
16281625
@@ -6423,7 +6420,7 @@ materialize_finished_plan(Plan *subplan)
64236420static Memoize *
64246421make_memoize (Plan * lefttree , Oid * hashoperators , Oid * collations ,
64256422 List * param_exprs , bool singlerow , bool binary_mode ,
6426- uint32 est_entries , Bitmapset * keyparamids )
6423+ uint32 est_entries )
64276424{
64286425 Memoize * node = makeNode (Memoize );
64296426 Plan * plan = & node -> plan ;
@@ -6440,7 +6437,6 @@ make_memoize(Plan *lefttree, Oid *hashoperators, Oid *collations,
64406437 node -> singlerow = singlerow ;
64416438 node -> binary_mode = binary_mode ;
64426439 node -> est_entries = est_entries ;
6443- node -> keyparamids = keyparamids ;
64446440
64456441 return node ;
64466442}
0 commit comments