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

Lines changed: 0 additions & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy