Improve the test case from 5668a857d
authorRichard Guo <rguo@postgresql.org>
Thu, 12 Dec 2024 02:21:51 +0000 (11:21 +0900)
committerRichard Guo <rguo@postgresql.org>
Thu, 12 Dec 2024 02:21:51 +0000 (11:21 +0900)
commitd8f335156c57f0df6ae3b1ec31e55979838eb882
tree1b0b8168ef4a9f919c2d82783fea1c4bc409079c
parent0172b4c9449e92a3988f669d9e7e9000454d16ce
Improve the test case from 5668a857d

In commit 5668a857d, we fixed an issue with incorrect results in right
semi joins and introduced a test case to verify the fix.  The test
case involves SubPlans and InitPlans, which may not be immediately
apparent in relation to the issue we addressed.

This patch simplifies the test case with a more straightforward query.

Per discussion with Melanie Plageman.

Author: Richard Guo
Discussion: https://postgr.es/m/CAAKRu_a-Cip2XCXp13fmxq+T9BhLAVApHTyjr94awL2mbXHC-Q@mail.gmail.com
src/test/regress/expected/join.out
src/test/regress/sql/join.sql