Re: Planner : anti-join on left joins - Mailing list pgsql-hackers

From Nicolas Adenis-Lamarre
Subject Re: Planner : anti-join on left joins
Date
Msg-id CACPGbcu6ogMfuXDjte2i4Ffap9TDHb0qVKDRn+04q6_hbkOgdw@mail.gmail.com
Whole thread Raw
In response to Re: Planner : anti-join on left joins  (Tender Wang <tndrwang@gmail.com>)
List pgsql-hackers
Tender,
sorry, you patch is perfect. I badly tested it this morning. My fault.
There is just the case with the constant that is not handled (select *
from a left join (select 1 const1 from b) x where x.const1 is null)
but i don't think it worth handling it.
I added 2 regresssion tests in case you want to add them to your patch.
The first one is important, the second one is just to confirm that
subqueries are working.
I've added 3 new tables because in test_setup.sql and join.sql there
were no table with not null constraints.

Again, thanks a lot.

Attachment

pgsql-hackers by date:

Previous
From: Kirill Reshke
Date:
Subject: Re: REASSIGN OWNED BY alters objects in other database.
Next
From: Nicolas Adenis-Lamarre
Date:
Subject: Convert coalesce to or/and