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