Arguments to foreign tables?

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Arguments to foreign tables?
Date: 2012-11-04 19:59:20
Message-ID: 1352059160.6292.20.camel@jdavis-laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-11-04 20:13:00 Re: Arguments to foreign tables?
Previous Message Jeff Davis 2012-11-04 19:41:48 Re: SP-GiST for ranges based on 2d-mapping and quad-tree