postgresql/src/backend/optimizer/prep
Tom Lane 16dc2703c5 Support "Right Anti Join" plan shapes.
Merge and hash joins can support antijoin with the non-nullable input
on the right, using very simple combinations of their existing logic
for right join and anti join.  This gives the planner more freedom
about how to order the join.  It's particularly useful for hash join,
since we may now have the option to hash the smaller table instead
of the larger.

Richard Guo, reviewed by Ronan Dunklau and myself

Discussion: https://postgr.es/m/CAMbWs48xh9hMzXzSy3VaPzGAz+fkxXXTUbCLohX1_L8THFRm2Q@mail.gmail.com
2023-04-05 16:59:09 -04:00
..
Makefile Move per-agg and per-trans duplicate finding to the planner. 2020-11-24 10:45:00 +02:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
prepagg.c Allow parallel aggregate on string_agg and array_agg 2023-01-23 17:35:01 +13:00
prepjointree.c Support "Right Anti Join" plan shapes. 2023-04-05 16:59:09 -04:00
prepqual.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
preptlist.c Fix incorrect comment in preptlist.c 2023-03-22 08:58:13 +13:00
prepunion.c Update copyright for 2023 2023-01-02 15:00:37 -05:00