Richard Guo <[email protected]> writes: > Regarding the tests, I think we could add another test query to cover > the case with no empty grouping sets and degenerate HAVING clauses. > This way, all cases for the HAVING pushdown optimization with grouping > sets should be covered.
> I've added such a test in v5, along with a commit message. Nothing
> else has changed. I'll push this patch soon, barring any objections.
v5 LGTM.
regards, tom lane
