postgresql/src/include/nodes
Robert Haas 639c1a6bb9 Fix mistaken failure to allow parallelism in corner case.
If we try to run a parallel plan in serial mode because, for example,
it's going to be scanned via a cursor, but for some reason we're
already in parallel mode (for example because an outer query is
running in parallel), we'd incorrectly try to launch workers.
Fix by adding a flag to the EState, so that we can be certain that
ExecutePlan() and ExecGather()/ExecGatherMerge() will have the same
idea about whether we are executing serially or in parallel.

Report and fix by Amit Kapila with help from Kuntal Ghosh.  A few
tweaks by me.

Discussion: http://postgr.es/m/CAA4eK1+_BuZrmVCeua5Eqnm4Co9DAXdM5HPAOE2J19ePbR912Q@mail.gmail.com
2017-10-27 16:04:01 +02:00
..
bitmapset.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
execnodes.h Fix mistaken failure to allow parallelism in corner case. 2017-10-27 16:04:01 +02:00
extensible.h Basic partition-wise join functionality. 2017-10-06 11:11:10 -04:00
lockoptions.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
makefuncs.h Allow multiple tables to be specified in one VACUUM or ANALYZE command. 2017-10-03 18:53:44 -04:00
memnodes.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
nodeFuncs.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
nodes.h Allow multiple tables to be specified in one VACUUM or ANALYZE command. 2017-10-03 18:53:44 -04:00
params.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
parsenodes.h pg_stat_statements: Widen query IDs from 32 bits to 64 bits. 2017-10-11 19:52:46 -04:00
pg_list.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
plannodes.h pg_stat_statements: Widen query IDs from 32 bits to 64 bits. 2017-10-11 19:52:46 -04:00
primnodes.h Support domains over composite types. 2017-10-26 13:47:45 -04:00
print.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
readfuncs.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
relation.h Basic partition-wise join functionality. 2017-10-06 11:11:10 -04:00
replnodes.h Add a WAIT option to DROP_REPLICATION_SLOT 2017-09-01 13:44:14 +02:00
tidbitmap.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
value.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00