File tree 2 files changed +1
-5
lines changed
2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -3744,7 +3744,6 @@ create_grouping_paths(PlannerInfo *root,
3744
3744
flags |= GROUPING_CAN_PARTIAL_AGG ;
3745
3745
3746
3746
extra .flags = flags ;
3747
- extra .target = target ;
3748
3747
extra .target_parallel_safe = target_parallel_safe ;
3749
3748
extra .havingQual = parse -> havingQual ;
3750
3749
extra .targetList = parse -> targetList ;
@@ -7029,7 +7028,7 @@ create_partitionwise_grouping_paths(PlannerInfo *root,
7029
7028
int cnt_parts ;
7030
7029
List * grouped_live_children = NIL ;
7031
7030
List * partially_grouped_live_children = NIL ;
7032
- PathTarget * target = extra -> target ;
7031
+ PathTarget * target = grouped_rel -> reltarget ;
7033
7032
7034
7033
Assert (patype != PARTITIONWISE_AGGREGATE_NONE );
7035
7034
Assert (patype != PARTITIONWISE_AGGREGATE_PARTIAL ||
@@ -7062,7 +7061,6 @@ create_partitionwise_grouping_paths(PlannerInfo *root,
7062
7061
adjust_appendrel_attrs (root ,
7063
7062
(Node * ) target -> exprs ,
7064
7063
nappinfos , appinfos );
7065
- child_extra .target = child_target ;
7066
7064
7067
7065
/* Translate havingQual and targetList. */
7068
7066
child_extra .havingQual = (Node * )
Original file line number Diff line number Diff line change @@ -2340,7 +2340,6 @@ typedef enum
2340
2340
* have been initialized.
2341
2341
* agg_partial_costs gives partial aggregation costs.
2342
2342
* agg_final_costs gives finalization costs.
2343
- * target is the PathTarget to be used while creating paths.
2344
2343
* target_parallel_safe is true if target is parallel safe.
2345
2344
* havingQual gives list of quals to be applied after aggregation.
2346
2345
* targetList gives list of columns to be projected.
@@ -2355,7 +2354,6 @@ typedef struct
2355
2354
AggClauseCosts agg_final_costs ;
2356
2355
2357
2356
/* Data which may differ across partitions. */
2358
- PathTarget * target ;
2359
2357
bool target_parallel_safe ;
2360
2358
Node * havingQual ;
2361
2359
List * targetList ;
You can’t perform that action at this time.
0 commit comments