Re: WIP: Join push-down for foreign tables - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: WIP: Join push-down for foreign tables
Date
Msg-id 4F058241.2000606@enterprisedb.com
Whole thread Raw
In response to Re: WIP: Join push-down for foreign tables  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 03.12.2011 01:05, Tom Lane wrote:
> Heikki Linnakangas<heikki.linnakangas@enterprisedb.com>  writes:
>> Hmm, so you're saying that the FDW function needs to be able to return
>> multiple paths for a single joinrel. Fair enough, and that's not
>> specific to remote joins. Even a single-table foreign scan could be
>> implemented differently depending on whether you prefer fast-start or
>> cheapest total.
>
> ... or ordered vs unordered, etc.  Yeah, good point, we already got this
> wrong with the PlanForeignScan API.  Good thing we didn't promise that
> would be stable.

This discussion withered down here...

I think the advice to Shigeru-san is to work on the API. We didn't reach 
a consensus on what exactly it should look like, but at least you need 
to be able to return multiple paths for a single joinrel, and should 
look at fixing the PlanForeignScan API to allow that too.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Benedikt Grundmann
Date:
Subject: random_page_cost vs seq_page_cost
Next
From: Florian Pflug
Date:
Subject: Re: Page Checksums + Double Writes