]> granicus.if.org Git - postgresql/commit
Fix LATERAL references to join alias variables.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 31 Aug 2012 21:44:01 +0000 (17:44 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 31 Aug 2012 21:44:31 +0000 (17:44 -0400)
commitda3df998702061b4b63d83d5354b148e812f21f8
tree6a622788d29e9cdf3b7ee9db6d25832684cc26e7
parentf789909b59c59a33e34feac3bed2c86f18159122
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() ...
src/backend/optimizer/plan/planner.c
src/backend/optimizer/util/var.c
src/test/regress/expected/join.out
src/test/regress/sql/join.sql