File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -967,8 +967,8 @@ pathman_executor_hook(QueryDesc *queryDesc,
967
967
968
968
if (IsA (state , ModifyTableState ))
969
969
{
970
- ModifyTableState * mt_state = (ModifyTableState * ) state ;
971
- int i ;
970
+ ModifyTableState * mt_state = (ModifyTableState * ) state ;
971
+ int i ;
972
972
973
973
for (i = 0 ; i < mt_state -> mt_nplans ; i ++ )
974
974
{
@@ -980,8 +980,8 @@ pathman_executor_hook(QueryDesc *queryDesc,
980
980
ResultRelInfo * rri = & mt_state -> resultRelInfo [i ];
981
981
982
982
/*
983
- * We unset junkfilter to disable junk
984
- * cleaning in ExecModifyTable.
983
+ * HACK: We unset junkfilter to disable
984
+ * junk cleaning in ExecModifyTable.
985
985
*/
986
986
rri -> ri_junkFilter = NULL ;
987
987
Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ typedef struct
43
43
Oid partid ; /* partition's relid */
44
44
ResultRelInfo * result_rel_info ; /* cached ResultRelInfo */
45
45
TupleConversionMap * tuple_map ; /* tuple mapping (parent => child) */
46
- JunkFilter * junkfilter ; /* junkfilter for cached ResultRelInfo */
47
46
bool has_children ; /* hint that it might have children */
48
47
ExprState * expr_state ; /* children have their own expressions */
49
48
} ResultRelInfoHolder ;
@@ -107,15 +106,12 @@ typedef struct
107
106
108
107
Plan * subplan ; /* proxy variable to store subplan */
109
108
ResultPartsStorage result_parts ; /* partition ResultRelInfo cache */
109
+ CmdType command_type ;
110
110
111
111
bool warning_triggered ; /* warning message counter */
112
112
113
- TupleTableSlot * tup_convert_slot ; /* slot for rebuilt tuples */
114
- CmdType command_type ;
115
-
116
113
TupleTableSlot * subplan_slot ; /* slot that was returned from subplan */
117
- JunkFilter * junkfilter ; /* junkfilter for subplan_slot */
118
-
114
+ TupleTableSlot * tup_convert_slot ; /* slot for rebuilt tuples */
119
115
ExprContext * tup_convert_econtext ; /* ExprContext for projections */
120
116
} PartitionFilterState ;
121
117
You can’t perform that action at this time.
0 commit comments