From b761d82ae23f201b62d8cb6b6ffa2620b2880975 Mon Sep 17 00:00:00 2001 From: MutableFire Date: Fri, 26 Jun 2026 17:53:49 +0300 Subject: [PATCH] Remove redundant return statements --- tea/gpext/tea_fdw.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tea/gpext/tea_fdw.c b/tea/gpext/tea_fdw.c index 87e4d32b..770cb4e9 100644 --- a/tea/gpext/tea_fdw.c +++ b/tea/gpext/tea_fdw.c @@ -376,13 +376,6 @@ static void TeaGetForeignPaths(PlannerInfo* root, RelOptInfo* baserel, Oid forei NULL, /* no outer rel either */ fpinfo->retrieved_attrs); add_path(baserel, (Path*)path); - - /* - * If we're not using remote estimates, stop here. We have no way to - * estimate whether any join clauses would be worth sending across, so - * don't bother building parameterized paths. - */ - return; } /* @@ -678,8 +671,6 @@ static void FetchDataToVirtualTuple(TeaScanState* fsstate, MemoryContext tuple_c PG_CATCH(); PG_RE_THROW(); PG_END_TRY(); - - return; } /*