Is there any fundamental or philosophical reason why a foreign table
can't accept arguments? Should that be a TODO?

Right now, to accept arguments to a from-clause item, you have to use an
SRF, which is much more limited than a foreign table. If foreign tables
could accept arguments, then SRFs could just be a simplified special
case of foreign tables.

I looked for some previous discussions on this topic and nothing turned
up.

Regards,
        Jeff Davis



-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to