postgresql/contrib/postgres_fdw
Robert Haas b30fb56b07 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
2017-03-16 13:34:59 -04:00
..
expected postgres_fdw: Push down FULL JOINs with restriction clauses. 2017-03-16 13:34:59 -04:00
sql postgres_fdw: Push down FULL JOINs with restriction clauses. 2017-03-16 13:34:59 -04:00
.gitignore Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
Makefile Allow postgres_fdw to ship extension funcs/operators for remote execution. 2015-11-03 18:42:18 -05:00
connection.c chomp PQerrorMessage() in backend uses 2017-02-27 08:54:51 -05:00
deparse.c postgres_fdw: Push down FULL JOINs with restriction clauses. 2017-03-16 13:34:59 -04:00
option.c Move some things from builtins.h to new header files 2017-01-20 20:29:53 -05:00
postgres_fdw--1.0.sql Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.c postgres_fdw: Push down FULL JOINs with restriction clauses. 2017-03-16 13:34:59 -04:00
postgres_fdw.control Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.h postgres_fdw: Push down FULL JOINs with restriction clauses. 2017-03-16 13:34:59 -04:00
shippable.c Update copyright via script for 2017 2017-01-03 13:48:53 -05:00