Skip site navigation (1) Skip section navigation (2)

pgsql: Fix LATERAL references to join alias variables.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix LATERAL references to join alias variables.
Date: 2012-08-31 21:44:48
Message-ID: E1T7Z1E-000589-NZ@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Tom LaneDate: 2012-08-31 22:57:24
Subject: pgsql: Partially restore qual scope checks indistribute_qual_to_rels()
Previous:From: Bruce MomjianDate: 2012-08-31 20:56:07
Subject: pgsql: In pg_upgade,document that the port numbers must be different w

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group