@@ -280,7 +280,7 @@ static Material *make_material(Plan *lefttree);
280
280
static Memoize * make_memoize (Plan * lefttree , Oid * hashoperators ,
281
281
Oid * collations , List * param_exprs ,
282
282
bool singlerow , bool binary_mode ,
283
- uint32 est_entries , Bitmapset * keyparamids );
283
+ uint32 est_entries );
284
284
static WindowAgg * make_windowagg (List * tlist , Index winref ,
285
285
int partNumCols , AttrNumber * partColIdx , Oid * partOperators , Oid * partCollations ,
286
286
int ordNumCols , AttrNumber * ordColIdx , Oid * ordOperators , Oid * ordCollations ,
@@ -1586,7 +1586,6 @@ static Memoize *
1586
1586
create_memoize_plan (PlannerInfo * root , MemoizePath * best_path , int flags )
1587
1587
{
1588
1588
Memoize * plan ;
1589
- Bitmapset * keyparamids ;
1590
1589
Plan * subplan ;
1591
1590
Oid * operators ;
1592
1591
Oid * collations ;
@@ -1618,11 +1617,9 @@ create_memoize_plan(PlannerInfo *root, MemoizePath *best_path, int flags)
1618
1617
i ++ ;
1619
1618
}
1620
1619
1621
- keyparamids = pull_paramids ((Expr * ) param_exprs );
1622
-
1623
1620
plan = make_memoize (subplan , operators , collations , param_exprs ,
1624
1621
best_path -> singlerow , best_path -> binary_mode ,
1625
- best_path -> est_entries , keyparamids );
1622
+ best_path -> est_entries );
1626
1623
1627
1624
copy_generic_path_info (& plan -> plan , (Path * ) best_path );
1628
1625
@@ -6423,7 +6420,7 @@ materialize_finished_plan(Plan *subplan)
6423
6420
static Memoize *
6424
6421
make_memoize (Plan * lefttree , Oid * hashoperators , Oid * collations ,
6425
6422
List * param_exprs , bool singlerow , bool binary_mode ,
6426
- uint32 est_entries , Bitmapset * keyparamids )
6423
+ uint32 est_entries )
6427
6424
{
6428
6425
Memoize * node = makeNode (Memoize );
6429
6426
Plan * plan = & node -> plan ;
@@ -6440,7 +6437,6 @@ make_memoize(Plan *lefttree, Oid *hashoperators, Oid *collations,
6440
6437
node -> singlerow = singlerow ;
6441
6438
node -> binary_mode = binary_mode ;
6442
6439
node -> est_entries = est_entries ;
6443
- node -> keyparamids = keyparamids ;
6444
6440
6445
6441
return node ;
6446
6442
}
0 commit comments