]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Parse JOIN/ON conditions with the proper visibility of input columns,
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Sep 2000 22:21:27 +0000 (22:21 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 17 Sep 2000 22:21:27 +0000 (22:21 +0000)
commitaef7a0c8ea272105b97f5a4dd1e6cb729be77824
tree854d34c66521436404d444b3a6ff883de7f504b2
parent418bd67eda5a07bc7a2469c8cf106e7982107a97
Parse JOIN/ON conditions with the proper visibility of input columns,
ie, consider only the columns coming from the JOIN clause's sub-clauses.
Also detect attempts to reference columns belonging to other tables
(which would still be possible using an explicitly-qualified name).
I'm not sure this implements the spec's semantics 100% accurately, but
at least it gives plausible behavior.
src/backend/parser/parse_clause.c