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

From Tender Wang
Subject Re: Planner : anti-join on left joins
Date
Msg-id CAHewXNmi83wQqHTcHNX9X2xOHj5N1OuZgocZ1BgXt1CULpHzWg@mail.gmail.com
Whole thread Raw
In response to Re: Planner : anti-join on left joins  (Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>)
Responses Re: Planner : anti-join on left joins
List pgsql-hackers
Hi, 

Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com> 于2026年1月2日周五 17:19写道:
Tender,

not sure you see one suggestion i did.
just in case you think it may be interesting, i modified for you 0001.

it just add (and reindent) ' if(forced_null_vars != NIL) ' around the
optimisation while most of left join have probably no forced nulls,
and thus it avoids to compute find_nonnullable_vars and
have_var_is_notnull for them.

Nicolas

Yeah, I forgot to add your suggestion. Please check the v4 patch.
I combined the code and tests into one patch and also added it to [1] commitfest.


--
Thanks,
Tender Wang
Attachment

pgsql-hackers by date:

Previous
From: Mario González Troncoso
Date:
Subject: Re: [PATCH} Move instrumentation structs
Next
From: Tender Wang
Date:
Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands