From: | David Rowley <dgrowleyml(at)gmail(dot)com> |
---|---|
To: | songjinzhou <tsinghualucky912(at)foxmail(dot)com> |
Cc: | pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Japin Li <japinli(at)hotmail(dot)com> |
Subject: | Re: Modify an incorrect regression test case in the group by key value elimination function |
Date: | 2025-02-18 11:45:23 |
Message-ID: | CAApHDvrV9ferzYvvWVVwLmDgUEeTLVjd4E1Wrwksm2BD9eQGgw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, 18 Feb 2025 at 20:40, songjinzhou <tsinghualucky912(at)foxmail(dot)com> wrote:
> Two months ago, we enhanced the group by key value elimination function. This is a very useful function. When I was learning, I found a regression test case that was not suitable, as follows:
> Because the table structure of t3 is defined as follows(Its PK is deferrable):
> I think this test case does not fully reflect the original meaning. So I made a small change to this and look forward to your feedback. Thanks!
That's my mistake. Thanks for spotting it.
I looked at your patch and felt that the flow would be better if all
those tests used t2 rather than t3. That way we don't need to add the
NOT NULL constraint to both tables, just t2. I wrote the patch to do
it that way and pushed it.
David
From | Date | Subject | |
---|---|---|---|
Next Message | Andy Fan | 2025-02-18 11:48:30 | Why does exec_simple_query requires 2 snapshots |
Previous Message | Amit Kapila | 2025-02-18 11:23:02 | Re: Add an option to skip loading missing publication to avoid logical replication failure |