Arguments to foreign tables? - Mailing list pgsql-hackers

From Jeff Davis
Subject Arguments to foreign tables?
Date
Msg-id 1352059160.6292.20.camel@jdavis-laptop
Whole thread Raw
Responses Re: Arguments to foreign tables?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Arguments to foreign tables?  (Willem Leenen <willem_leenen@hotmail.com>)
Re: Arguments to foreign tables?  (John R Pierce <pierce@hogranch.com>)
List pgsql-hackers
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




pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: SP-GiST for ranges based on 2d-mapping and quad-tree
Next
From: Tom Lane
Date:
Subject: Re: Arguments to foreign tables?