pgsql: Fix LATERAL references to join alias variables. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix LATERAL references to join alias variables.
Date
Msg-id E1T7Z1E-000589-NZ@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix LATERAL references to join alias variables.

I had thought this case worked already, but perhaps I didn't re-test it
after adding extract_lateral_references() ...

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/da3df998702061b4b63d83d5354b148e812f21f8

Modified Files
--------------
src/backend/optimizer/plan/planner.c |   59 +++++++++++++++++++++++----------
src/backend/optimizer/util/var.c     |    4 ++-
src/test/regress/expected/join.out   |   26 +++++++++++++++
src/test/regress/sql/join.sql        |    8 ++++
4 files changed, 78 insertions(+), 19 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: In pg_upgade, document that the port numbers must be different w
Next
From: Tom Lane
Date:
Subject: pgsql: Partially restore qual scope checks in distribute_qual_to_rels()