Hi,
In case gd->any_hashable is FALSE, grouping_is_hashable is never called.
In this case, the planner could use HASH for groupings, but will never know.
Apparently gd pointer, will never be NULL there, verified with Assert(gd !=
NULL).
regards,
Ranier Vilela