• Andres Freund's avatar
    Build column mapping for grouping sets in all required cases. · 144666f6
    Andres Freund authored
    The previous coding frequently failed to fail because for one it's
    unusual to have rollup clauses with one column, and for another
    sometimes the wrong mapping didn't cause obvious problems.
    
    Author: Jeevan Chalke
    Reviewed-By: Andrew Gierth
    Discussion: CAM2+6=W=9=hQOipH0HAPbkun3Z3TFWij_EiHue0_6UX=oR=1kw@mail.gmail.com
    Backpatch: 9.5, where grouping sets were introduced
    144666f6
groupingsets.out 18.7 KB