• Tom Lane's avatar
    Fix optimization for skipping searches for parallel-query hazards. · 4324ade9
    Tom Lane authored
    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>
    4324ade9
clauses.c 154 KB