Re: Unneeded parallel safety tests in grouping_planner

2019-03-01 Thread Etsuro Fujita
(2019/02/28 0:46), Robert Haas wrote: On Wed, Feb 27, 2019 at 7:46 AM Etsuro Fujita wrote: Yet another thing I noticed while working on [1] is this in grouping_planner: /* * If the input rel is marked consider_parallel and there's nothing that's * not parallel-safe in the

Re: Unneeded parallel safety tests in grouping_planner

2019-02-27 Thread Robert Haas
On Wed, Feb 27, 2019 at 7:46 AM Etsuro Fujita wrote: > Yet another thing I noticed while working on [1] is this in > grouping_planner: > > /* > * If the input rel is marked consider_parallel and there's nothing > that's > * not parallel-safe in the LIMIT clause, then the final_rel

Unneeded parallel safety tests in grouping_planner

2019-02-27 Thread Etsuro Fujita
Hi, Yet another thing I noticed while working on [1] is this in grouping_planner: /* * If the input rel is marked consider_parallel and there's nothing that's * not parallel-safe in the LIMIT clause, then the final_rel can be marked * consider_parallel as well. Note that if