Re: Custom/Foreign-Join-APIs (Re: [v9.5] Custom Plan API) - Mailing list pgsql-hackers

From Shigeru Hanada
Subject Re: Custom/Foreign-Join-APIs (Re: [v9.5] Custom Plan API)
Date
Msg-id CAEZqfEcL6yrbqP9Bzg9JE=Ta39-u3r_h=9p2HjxCuMvy8=-Z1Q@mail.gmail.com
Whole thread Raw
In response to Re: Custom/Foreign-Join-APIs (Re: [v9.5] Custom Plan API)  (Kouhei Kaigai <kaigai@ak.jp.nec.com>)
List pgsql-hackers
2015-05-15 8:43 GMT+09:00 Kouhei Kaigai <kaigai@ak.jp.nec.com>:
> Regarding of FDW, as Hanada-san mentioned, I'm uncertain whether
> similar feature is also needed because its join-pushdown feature
> scan on the result-set of remotely joined relations, thus no need
> to have local child Path nodes.
> So, I put this custom_children list on CustomXXXX structure only.

AFAIS most of FDWs won't need child paths to process their external data.

The most possible idea is that a FDW uses output of ForeignScan plan
node which is handled by the FDW, but such work should be done by
another CSP (or at least via CSP I/F).

-- 
Shigeru HANADA



pgsql-hackers by date:

Previous
From: Etsuro Fujita
Date:
Subject: Minor improvements to alter_foreign_table.sgml
Next
From: Alexander Korotkov
Date:
Subject: Re: KNN-GiST with recheck