diff --git a/src/backend/distributed/executor/local_executor.c b/src/backend/distributed/executor/local_executor.c index 0cc6e70b5..0678e7640 100644 --- a/src/backend/distributed/executor/local_executor.c +++ b/src/backend/distributed/executor/local_executor.c @@ -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()