Fix create_lateral_join_info to handle dead relations properly.

Robert Haas <rhaas@postgresql.org>

Commit: 57eebca03a9eb61eb18f8ea9db94775653f797d1
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-09-20T14:20:10Z
Releases: 11.0
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

Files

Discussion