From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Code review for foreign/custom join pushdown patch.
Date: Mon, 11 May 2015 03:02:22 +0200
Message-ID: <20150511010222.GJ12950@alap3.anarazel.de> (raw)
In-Reply-To: <E1YrW5l-00034Z-Ia@gemulon.postgresql.org>
References: <E1YrW5l-00034Z-Ia@gemulon.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 2015-05-10 18:36:45 +0000, Tom Lane wrote:
> * Consider foreign joins only between foreign tables on the same server,
> rather than between any two foreign tables with the same underlying FDW
> handler function. In most if not all cases, the FDW would simply have had
> to apply the same-server restriction itself (far more expensively, both for
> lack of caching and because it would be repeated for each combination of
> input sub-joins), or else risk nasty bugs. Anyone who's really intent on
> doing something outside this restriction can always use the
> set_join_pathlist_hook.
Hm. I'm not sure I can agree with that judgement. It does not seem that
far fetched to want to push joins between two different FDW servers to
one FDW. Especially with inheritance now being allowed it's quite
possible people will come up with complicated partitioning scheme where
it's good where the server the user is interacting with does as little
as possible. Possibly it'll also allow to reduce slow network traffic.
Greetings,
Andres Freund
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de, tgl@sss.pgh.pa.us, robertmhaas@gmail.com
Subject: Re: pgsql: Code review for foreign/custom join pushdown patch.
In-Reply-To: <20150511010222.GJ12950@alap3.anarazel.de>
References: <E1YrW5l-00034Z-Ia@gemulon.postgresql.org> <20150511010222.GJ12950@alap3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox