Thread: pgsql: Don't adjust ressortgroupref in generate_setop_child_grouplist()

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7487044d6ccf183e53d2633024595779922dbee2

Modified Files
--------------
src/backend/optimizer/plan/planner.c | 1 -
1 file changed, 1 deletion(-)