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
SaitTalhaNisanci 2020-04-12 19:49:22 +03:00 committed by GitHub
parent c8d0e45dd4
commit 2438e80a58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ ExecuteLocalTaskListExtended(List *taskList, ParamListInfo orig_paramListInfo,
taskNumParams); taskNumParams);
int cursorOptions = 0; int cursorOptions = CURSOR_OPT_PARALLEL_OK;
/* /*
* Altough the shardQuery is local to this node, we prefer planner() * Altough the shardQuery is local to this node, we prefer planner()