Thread: pgsql/src/backend/parser (parse_clause.c)

pgsql/src/backend/parser (parse_clause.c)

From
Tom Lane
Date:
  Date: Sunday, September 17, 2000 @ 18:21:28
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/parser
     from hub.org:/home/projects/pgsql/tmp/cvs-serv95731

Modified Files:
    parse_clause.c

-----------------------------  Log Message  -----------------------------

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.