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

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: postgres_fdw: Fix crash when pushing down multiple joins.
Date: 2016-03-23 16:52:55
Message-ID: E1aim1f-00036b-Kj@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-03-23 20:07:10 pgsql: Disable abbreviated keys for string-sorting in non-C locales.
Previous Message Robert Haas 2016-03-23 15:02:08 pgsql: Partition the freelist for shared dynahash tables.