mirror of https://github.com/citusdata/citus.git
Add relationIdList field to the Job struct
parent
45957e5688
commit
52b9e35d50
|
@ -523,6 +523,8 @@ FinalizePlan(PlannedStmt *localPlan, MultiPlan *multiPlan)
|
|||
}
|
||||
}
|
||||
|
||||
multiPlan->relationIdList = localPlan->relationOids;
|
||||
|
||||
multiPlanData = (Node *) multiPlan;
|
||||
|
||||
customScan->custom_private = list_make1(multiPlanData);
|
||||
|
|
|
@ -107,6 +107,7 @@ CopyNodeMultiPlan(COPYFUNC_ARGS)
|
|||
COPY_NODE_FIELD(workerJob);
|
||||
COPY_NODE_FIELD(masterQuery);
|
||||
COPY_SCALAR_FIELD(routerExecutable);
|
||||
COPY_NODE_FIELD(relationIdList);
|
||||
|
||||
COPY_NODE_FIELD(insertSelectSubquery);
|
||||
COPY_NODE_FIELD(insertTargetList);
|
||||
|
|
|
@ -185,6 +185,7 @@ OutMultiPlan(OUTFUNC_ARGS)
|
|||
WRITE_NODE_FIELD(workerJob);
|
||||
WRITE_NODE_FIELD(masterQuery);
|
||||
WRITE_BOOL_FIELD(routerExecutable);
|
||||
WRITE_NODE_FIELD(relationIdList);
|
||||
|
||||
WRITE_NODE_FIELD(insertSelectSubquery);
|
||||
WRITE_NODE_FIELD(insertTargetList);
|
||||
|
|
|
@ -205,6 +205,7 @@ ReadMultiPlan(READFUNC_ARGS)
|
|||
READ_NODE_FIELD(workerJob);
|
||||
READ_NODE_FIELD(masterQuery);
|
||||
READ_BOOL_FIELD(routerExecutable);
|
||||
READ_NODE_FIELD(relationIdList);
|
||||
|
||||
READ_NODE_FIELD(insertSelectSubquery);
|
||||
READ_NODE_FIELD(insertTargetList);
|
||||
|
|
|
@ -228,6 +228,7 @@ typedef struct MultiPlan
|
|||
Job *workerJob;
|
||||
Query *masterQuery;
|
||||
bool routerExecutable;
|
||||
List *relationIdList;
|
||||
|
||||
/* INSERT ... SELECT via coordinator only */
|
||||
Query *insertSelectSubquery;
|
||||
|
|
Loading…
Reference in New Issue