mirror of https://github.com/citusdata/citus.git
use CURSOR_OPT_PARALLEL_OK flag in local execution (#3745)
We currently don't use any cursor flags in local execution, but we can use CURSOR_OPT_PARALLEL_OK flag to potentially benefit from parallelism when possible.pull/3749/head
parent
c8d0e45dd4
commit
2438e80a58
|
@ -254,7 +254,7 @@ ExecuteLocalTaskListExtended(List *taskList, ParamListInfo orig_paramListInfo,
|
|||
taskNumParams);
|
||||
|
||||
|
||||
int cursorOptions = 0;
|
||||
int cursorOptions = CURSOR_OPT_PARALLEL_OK;
|
||||
|
||||
/*
|
||||
* Altough the shardQuery is local to this node, we prefer planner()
|
||||
|
|
Loading…
Reference in New Issue