pgsql: Improve the test case from 5668a857d

From: Richard Guo <rguo(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve the test case from 5668a857d
Date: 2024-12-12 02:22:41
Message-ID: E1tLYqe-002HU7-In@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d8f335156c57f0df6ae3b1ec31e55979838eb882

Modified Files
--------------
src/test/regress/expected/join.out | 84 ++++++++++++++------------------------
src/test/regress/sql/join.sql | 29 +++++--------
2 files changed, 40 insertions(+), 73 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2024-12-12 02:29:05 pgsql: Detect redundant GROUP BY columns using UNIQUE indexes
Previous Message Michael Paquier 2024-12-12 02:17:34 pgsql: Add some regression tests for missing DDL patterns