Re: [HACKERS] Push down more full joins in postgres_fdw
От | Ashutosh Bapat |
---|---|
Тема | Re: [HACKERS] Push down more full joins in postgres_fdw |
Дата | |
Msg-id | CAFjFpRc6y6iPhUL9ketrdU+NL+W8qAnzq1-0fkMUgmKSB0ggrA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [HACKERS] Push down more full joins in postgres_fdw (Etsuro Fujita <fujita.etsuro@lab.ntt.co.jp>) |
Ответы |
Re: [HACKERS] Push down more full joins in postgres_fdw
|
Список | pgsql-hackers |
> > I updated the patch a bit further: simplified the function name > (s/build_subquery_rel_tlists/build_subquery_tlists/), and revised comments a > little bit. Attached is an updated version > (postgres-fdw-subquery-support-v14.patch). And I rebased another patch for > PHVs against that patch, which is also attached > (postgres-fdw-phv-pushdown-v14.patch). > Few comments In build_subquery_tlists(), why don't we handle base relations? + if (foreignrel->reloptkind != RELOPT_JOINREL) + return; Also, in this function, if fpinfo->tlist is already set, why do we want to build it again? In build_tlist_to_deparse(), if fpinfo->tlist for the given relation is set, we should just return it rather than constructing it again. -- Best Wishes, Ashutosh Bapat EnterpriseDB Corporation The Postgres Database Company
В списке pgsql-hackers по дате отправления: