• Tom Lane's avatar
    Parse JOIN/ON conditions with the proper visibility of input columns, · aef7a0c8
    Tom Lane authored
    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.
    aef7a0c8
parse_clause.c 35.4 KB