Обсуждение: pgsql: postgres_fdw: Fix crash when pushing down multiple joins.

Поиск
Список
Период
Сортировка

pgsql: postgres_fdw: Fix crash when pushing down multiple joins.

От
Robert Haas
Дата:
postgres_fdw: Fix crash when pushing down multiple joins.

A join clause might mention multiple relations on either side, so it
need not be the case that a given joinrel's constituent relations are
all on one side of the join clause or all on the other.

Report by Rajkumar Raghuwanshi.  Analysis and fix by Michael Paquier
and Ashutosh Bapat.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3151f16e1874db82ed85a005dac15368903ca9fb

Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 252 +++++++++++++++++++++++++
contrib/postgres_fdw/postgres_fdw.c            |   5 +-
contrib/postgres_fdw/sql/postgres_fdw.sql      |  36 ++++
3 files changed, 289 insertions(+), 4 deletions(-)