Re: Support "Right Semi Join" plan shapes - Mailing list pgsql-hackers

From Alena Rybakina
Subject Re: Support "Right Semi Join" plan shapes
Date
Msg-id b4e464e0-97ab-49e8-bcf0-0eaeb1ad657b@yandex.ru
Whole thread Raw
In response to Re: Support "Right Semi Join" plan shapes  (wenhui qiu <qiuwenhuifx@gmail.com>)
Responses Re: Support "Right Semi Join" plan shapes
Re: Support "Right Semi Join" plan shapes
List pgsql-hackers
Hi! Thank you for your work on this subject.

I have reviewed your patch and I think it is better to add an Assert for 
JOIN_RIGHT_SEMI to the ExecMergeJoin and ExecNestLoop functions to 
prevent the use of RIGHT_SEMI for these types of connections (NestedLoop 
and MergeJoin).
Mostly I'm suggesting this because of the set_join_pathlist_hook 
function, which is in the add_paths_to_joinrel function, which allows 
you to create a custom node. What do you think?

-- 
Regards,
Alena Rybakina
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company




pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: Report planning memory in EXPLAIN ANALYZE
Next
From: "Andrey M. Borodin"
Date:
Subject: Re: UUID v7