Re: Arguments to foreign tables?

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Dimitri Fontaine <dimitri(at)2ndQuadrant(dot)fr>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Arguments to foreign tables?
Date: 2012-11-06 16:44:50
Message-ID: 1352220290.6292.57.camel@jdavis-laptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 2012-11-06 at 10:55 -0500, Tom Lane wrote:
> I'd also opine that the FDW APIs are pretty darn heavyweight for an SRF.
> There might be a small number of SRFs for which it's actually worth
> dealing with the planner in full generality, but surely not very many.

I was not suggesting that we remove the user-facing simplicity of SRFs.

Granted, this is not very well thought-through from an API standpoint.
But I was imagining adding something to the FDW API that allows for
arguments to be passed from the FROM clause down the the FDW code.

Regards,
Jeff Davis

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2012-11-06 16:52:51 Re: Arguments to foreign tables?
Previous Message Robert Haas 2012-11-06 16:37:29 Re: the number of pending entries in GIN index with FASTUPDATE=on