postgres_fdw: Push down FULL JOINs with restriction clauses.

Robert Haas <rhaas@postgresql.org>

Commit: b30fb56b07a885f3476fe05920249f4832ca8da5
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-03-16T17:34:59Z
Releases: 10.0
postgres_fdw: Push down FULL JOINs with restriction clauses.

The previous deparsing logic wasn't smart enough to produce subqueries
when deparsing; make it smart enough to do that.  However, we only do
it that way when necessary, because it generates more complicated SQL
which will be harder for any humans reading the queries to understand.

Etsuro Fujita, reviewed by Ashutosh Bapat

Discussion: http://postgr.es/m/c449261a-b033-dc02-9254-2fe5b7044795@lab.ntt.co.jp

Files

Discussion