Fix create_lateral_join_info to handle dead relations properly.
Robert Haas <rhaas@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/optimizer/plan/initsplan.c | modified | +5 −2 |
| src/test/regress/expected/join.out | modified | +12 −0 |
| src/test/regress/sql/join.sql | modified | +5 −0 |
Discussion
- pgsql: Expand partitioned table RTEs level by level, without flattening 4 messages · 2017-09-14 → 2017-09-20