• Tom Lane's avatar
    Adjust the definition of RestrictInfo's left_relids and right_relids · be6c38b9
    Tom Lane authored
    fields: now they are valid whenever the clause is a binary opclause,
    not only when it is a potential join clause (there is a new boolean
    field canjoin to signal the latter condition).  This lets us avoid
    recomputing the relid sets over and over while examining indexes.
    Still more work to do to make this as useful as it could be, because
    there are places that could use the info but don't have access to the
    RestrictInfo node.
    be6c38b9
indxpath.c 68 KB