Skip to content
Snippets Groups Projects
  • Tom Lane's avatar
    aef7a0c8
    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
    History
    Parse JOIN/ON conditions with the proper visibility of input columns,
    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.