From 91ebe57719a049265ca06d7418b65aa14b275ab2 Mon Sep 17 00:00:00 2001 From: Sofia Kopikova Date: Thu, 15 Aug 2024 18:25:55 +0300 Subject: [PATCH] Fix pathman_join_pathlist_hook function to avoid fail on new assert in build_join_pathkeys postgres function. Caused by: - aa86129e19d7 Support "Right Semi Join" plan shapes Author: Alena Rybakina --- src/hooks.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) */