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

From Josh Berkus
Subject Re: Function scan push-down using SQL/MED syntax
Date
Msg-id 4B8FF724.4070102@agliodbs.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
List pgsql-cluster-hackers
On 3/3/10 8:52 PM, Takahiro Itagaki wrote:
> The current design is very similar to "Executor node hook".
> ExecXxxForeignScan() almost pass-through the processing to each FDW
> routine. SQL-based FDWs can push-down the conditions to their foreign
> servers. Also, plain data FDWs (including CSV-FDW) can give over
> the filtering to the default executor.

It would be really good to have access to the scan criteria as text, a
hash, or other generally manipulable data structures, as well, for
foreign data which is not SQL-based.

Finally, if you are making the scan more visible, a nice side effect of
this would be the ability to log all the scan criteria on a particular
table (whether its an FDW or not); it would help a lot with indexing.

--Josh Berkus

pgsql-cluster-hackers by date:

Previous
From: Takahiro Itagaki
Date:
Subject: Function scan push-down using SQL/MED syntax
Next
From: Hitoshi Harada
Date:
Subject: Re: Function scan push-down using SQL/MED syntax