diff --git a/src/hooks.c b/src/hooks.c index 2ff2667c..492ea318 100644 --- a/src/hooks.c +++ b/src/hooks.c @@ -123,7 +123,8 @@ pathman_join_pathlist_hook(PlannerInfo *root, /* We don't support these join types (since inner will be parameterized) */ if (jointype == JOIN_FULL || jointype == JOIN_RIGHT || - jointype == JOIN_UNIQUE_INNER) + jointype == JOIN_UNIQUE_INNER || + jointype == JOIN_RIGHT_SEMI) return; /* Skip if inner table is not allowed to act as parent (e.g. FROM ONLY) */