Re: [HACKERS] Division by zero in planner.c:grouping_planner()
Qingqing Zhou writes: > On Wed, Jul 29, 2015 at 11:26 AM, Piotr Stefaniak > wrote: >> + Assert(path_rows != 0); >> if (tuple_fraction >= 1.0) >> tuple_fraction /= path_rows; >> } >> > This does not sounds right: path_rows only used when tuple_fractions >> = 1.0. So the new
Re: [HACKERS] Division by zero in planner.c:grouping_planner()
On Wed, Jul 29, 2015 at 11:26 AM, Piotr Stefaniak wrote: > + Assert(path_rows != 0); > if (tuple_fraction >= 1.0) > tuple_fraction /= path_rows; > } > This does not sounds right: path_rows only used when