Re: Arguments to foreign tables?

From: Willem Leenen <willem_leenen(at)hotmail(dot)com>
To: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Arguments to foreign tables?
Date: 2012-11-04 20:21:53
Message-ID: DUB104-W55BBA0BF3ED6F9C6ECEE448F650@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I don't understand the question. A table accepting arguments? What do you mean with that? Can you give an code example in an other RDBMS (like oracle)?

Perhaps nothing came up because there are more people not understanding what you want to accomplish?

regards,
Willem

> Subject: [HACKERS] Arguments to foreign tables?
> From: pgsql(at)j-davis(dot)com
> To: pgsql-hackers(at)postgresql(dot)org
> Date: Sun, 4 Nov 2012 11:59:20 -0800
>
> 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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message John R Pierce 2012-11-04 20:22:04 Re: Arguments to foreign tables?
Previous Message Dimitri Fontaine 2012-11-04 20:19:46 Re: Deparsing DDL command strings