Thread: Parallel safety restriction in 17

Parallel safety restriction in 17

From
Egor Rogov
Date:
Hello,

I've stumbled upon this statement in parallel.sgml:

 > The following operations are always parallel restricted:
 > ...
 > Plan nodes to which an <literal>InitPlan</literal> is attached.

It looks like this is no longer true since e08d74ca, in which plan nodes 
with initPlans were allowed to be parallel-safe.

Thanks,
Egor




Re: Parallel safety restriction in 17

From
Tom Lane
Date:
Egor Rogov <e.rogov@postgrespro.ru> writes:
> I've stumbled upon this statement in parallel.sgml:

>>> The following operations are always parallel restricted:
>>> ...
>>> Plan nodes to which an <literal>InitPlan</literal> is attached.

> It looks like this is no longer true since e08d74ca, in which plan nodes 
> with initPlans were allowed to be parallel-safe.

I think you're right.  Thanks for catching that!

            regards, tom lane