diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-11-21 11:09:24 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-11-21 11:09:33 -0500 |
commit | 01f08cbbc975c56cbffc8e051ee4470ab7516358 (patch) | |
tree | 8688c16cfee26ad42254c3f619dab5a6440bcc75 /src/backend/access/transam/commit_ts.c | |
parent | 90f8b4be5b9c86a3a609b7cf2d8a76e0a74a75a4 (diff) | |
download | postgresql-01f08cbbc975c56cbffc8e051ee4470ab7516358.tar.gz postgresql-01f08cbbc975c56cbffc8e051ee4470ab7516358.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/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions