pgsql: Fix create_lateral_join_info to handle dead relations properly.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix create_lateral_join_info to handle dead relations properly.
Date: 2017-09-20 14:21:28
Message-ID: E1dufsW-0005um-QV@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix create_lateral_join_info to handle dead relations properly.

Commit 0a480502b092195a9b25a2f0f199a21d592a9c57 broke it.

Report by Andreas Seltenreich. Fix by Ashutosh Bapat.

Discussion: http://postgr.es/m/874ls2vrnx.fsf@ansel.ydns.eu

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/57eebca03a9eb61eb18f8ea9db94775653f797d1

Modified Files
--------------
src/backend/optimizer/plan/initsplan.c | 7 +++++--
src/test/regress/expected/join.out | 12 ++++++++++++
src/test/regress/sql/join.sql | 5 +++++
3 files changed, 22 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-09-20 14:21:53 Re: Re: [COMMITTERS] pgsql: Expand partitioned table RTEs level by level, without flattening
Previous Message Robert Haas 2017-09-20 14:12:14 pgsql: Fix typo.