aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_target.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-11-21 11:09:24 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-11-21 11:09:24 -0500
commitf24cf960d7ae3503e21fcb59dca652575619d9d4 (patch)
treef04730f22491994144b8c8c9e94298ae27388fd3 /src/backend/parser/parse_target.c
parentc5f365f3ab21a345b7a109bc0411895536e9fa69 (diff)
downloadpostgresql-f24cf960d7ae3503e21fcb59dca652575619d9d4.tar.gz
postgresql-f24cf960d7ae3503e21fcb59dca652575619d9d4.zip
Fix test for subplans in force-parallel mode.
We mustn't force parallel mode if the query has any subplans, since ExecSerializePlan doesn't transmit them to workers. Testing top_plan->initPlan is inadequate because (1) there might be initPlans attached to lower plan nodes, and (2) non-initPlan subplans don't work either. There's certainly room for improvement in those restrictions, but for the moment that's what we've got. Amit Kapila, per report from Andreas Seltenreich Discussion: <8737im6pmh.fsf@credativ.de>
Diffstat (limited to 'src/backend/parser/parse_target.c')
0 files changed, 0 insertions, 0 deletions