Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group