Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7487044

Browse files
committed
Don't adjust ressortgroupref in generate_setop_child_grouplist()
This is already done inside assignSortGroupRef(), therefore is redundant. Oversight from 66c0185. Reported-by: Tom Lane Discussion: https://postgr.es/m/3703023.1711654574@sss.pgh.pa.us
1 parent b840508 commit 7487044

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/backend/optimizer/plan/planner.c

-1
Original file line numberDiff line numberDiff line change
@@ -7959,7 +7959,6 @@ generate_setop_child_grouplist(SetOperationStmt *op, List *targetlist)
79597959

79607960
/* assign a tleSortGroupRef, or reuse the existing one */
79617961
sgc->tleSortGroupRef = assignSortGroupRef(tle, targetlist);
7962-
tle->ressortgroupref = sgc->tleSortGroupRef;
79637962
}
79647963
Assert(lg == NULL);
79657964
return grouplist;

0 commit comments

Comments
 (0)