Re: Function scan push-down using SQL/MED syntax - Mailing list pgsql-cluster-hackers

From Hitoshi Harada
Subject Re: Function scan push-down using SQL/MED syntax
Date
Msg-id e08cc0401003050751i3adf4ffv59403fcf9cce6547@mail.gmail.com
Whole thread Raw
In response to Function scan push-down using SQL/MED syntax  (Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>)
Responses Re: Function scan push-down using SQL/MED syntax  (Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>)
List pgsql-cluster-hackers
2010/3/4 Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>:
> I'm working on SQL/MED foreign table for "Function scan push-down" item:
>
>
> Comments and suggestions are very welcome for the design and implementation.
> There are also some known issues in the Open questions section.
>

I've not read any part of code yet but have comments:

* I'm not very happy with "Getting tuples from the foreign server"
section. Present tuplestore isn't quite efficient and putting all
tuples into TSS adds devastating overhead. In principle, storing
tuples doesn't match SQL exectuor model. So something like cursor is
needed here.

* In FDW routines section there seems only methods to read out data,
but I'd suggest there should be coverage of all CRUD operation.
Sometimes dropping foreign data is so specific that only FdwRoutines
know the way.


Regards,

--
Hitoshi Harada

pgsql-cluster-hackers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: Function scan push-down using SQL/MED syntax
Next
From: Tatsuo Ishii
Date:
Subject: Re: Expanded information template