Jeff Davis <pgsql(at)j-davis(dot)com> writes:
> Take something as simple as generate_series: right now, it materializes
> the entire thing if it's in the FROM clause, but it wouldn't need to if
> it could use the foreign table mechanism.
So, my understanding of your proposal is that a good way to implement
streaming SRF would be on top of the internals of Foreign Data Wrappers?
Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support