Remove leftover code in deconstruct_distribute_oj_quals(). master
authorTom Lane <[email protected]>
Tue, 7 Feb 2023 16:56:43 +0000 (11:56 -0500)
committerTom Lane <[email protected]>
Tue, 7 Feb 2023 16:56:43 +0000 (11:56 -0500)
commit2cbbffff05b853733ae19ca7047cfeb9a346a497
tree45cab0c8d474b288b4d6c6d91cb100f52752726d
parentaa6954104644334c53838f181053b9f7aa13f58c
Remove leftover code in deconstruct_distribute_oj_quals().

The initial "put back OJ relids" adjustment of ojscope was
incorrect and unnecessary; it seems to be a leftover from
when I (tgl) was trying to get this function to work at all.

Richard Guo

Discussion: https://postgr.es/m/CAMbWs4-L2C47ZGZPabBAi5oDZsKmsbvhYcGCy5o=gCjsaG_ZQA@mail.gmail.com
src/backend/optimizer/plan/initsplan.c
src/test/regress/expected/join.out
src/test/regress/sql/join.sql