mirror of
https://github.com/postgres/postgres.git
synced 2026-04-26 16:48:14 -04:00
Don't adjust ressortgroupref in generate_setop_child_grouplist()
This is already done inside assignSortGroupRef(), therefore is
redundant.
Oversight from 66c0185a3.
Reported-by: Tom Lane
Discussion: https://postgr.es/m/3703023.1711654574@sss.pgh.pa.us
This commit is contained in:
parent
b840508644
commit
7487044d6c
1 changed files with 0 additions and 1 deletions
|
|
@ -7959,7 +7959,6 @@ generate_setop_child_grouplist(SetOperationStmt *op, List *targetlist)
|
||||||
|
|
||||||
/* assign a tleSortGroupRef, or reuse the existing one */
|
/* assign a tleSortGroupRef, or reuse the existing one */
|
||||||
sgc->tleSortGroupRef = assignSortGroupRef(tle, targetlist);
|
sgc->tleSortGroupRef = assignSortGroupRef(tle, targetlist);
|
||||||
tle->ressortgroupref = sgc->tleSortGroupRef;
|
|
||||||
}
|
}
|
||||||
Assert(lg == NULL);
|
Assert(lg == NULL);
|
||||||
return grouplist;
|
return grouplist;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue