Robert Haas <robertmhaas@gmail.com> writes:
> On Thu, Jun 15, 2017 at 10:38 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> ... er, -ENOCAFFEINE. Nonetheless, there are no checks of
>> EXEC_FLAG_EXPLAIN_ONLY in any parallel-query code, so I think
>> a bet is being missed somewhere.
> ExecGather() is where workers get launched, and that ain't happening
> if EXEC_FLAG_EXPLAIN_ONLY is set, unless I am *very* confused about
> how this works.
Ah, you're right, it's done during first execution not during InitPlan.
Nevermind ...
regards, tom lane