• Tom Lane's avatar
    Fix incorrect tlist generation in create_gather_plan(). · 8776c15c
    Tom Lane authored
    This function is written as though Gather doesn't project; but it does.
    Even if it did not project, though, we must use build_path_tlist to ensure
    that the output columns receive correct sortgroupref labeling.
    
    Per report from Amit Kapila.
    8776c15c
createplan.c 179 KB