Fix optimization for skipping searches for parallel-query hazards.
Fix thinko in commit da1c9163: even if the original query was free of parallel hazards, we might introduce such a hazard by adding PARAM_EXEC Param nodes. Adjust is_parallel_safe() so that it will scan the given expression whenever any such nodes have been created. Per report from Andreas Seltenreich. Discussion: <878tse6yvf.fsf@credativ.de>
Showing
Please register or sign in to comment