Code review for 6190d828cd2
authorAmit Langote <[email protected]>
Mon, 25 Mar 2024 10:43:29 +0000 (19:43 +0900)
committerAmit Langote <[email protected]>
Mon, 25 Mar 2024 10:45:27 +0000 (19:45 +0900)
commit0f7863afef67e462574fe5af6317e26a2f2d47fb
tree436b3055c4b298ff3ff9f156b565121d04e24b2b
parentcc0e7ebd304a24815c0531000a4c3693878cd96c
Code review for 6190d828cd2

* Fix the comment of init_dummy_sjinfo() to remove references to
  non-existing parameters 'rel1' and 'rel2'.

* Adjust consider_new_or_clause() to call init_dummy_sjinfo() to make
  up a SpecialJoinInfo for inner joins like other code sites that
  were adjusted in 6190d828cd2 to do so.

Author: Richard Guo <[email protected]>
Reported-by: Richard Guo <[email protected]>
Discussion: https://postgr.es/m/CAExHW5tHqEf3ASVqvFFcghYGPfpy7o3xnvhHwBGbJFMRH8KjNw@mail.gmail.com
src/backend/optimizer/path/joinrels.c
src/backend/optimizer/util/orclauses.c