• Tom Lane's avatar
    Adjust remove_redundant_join_clauses() so that when it has a choice · 6161766d
    Tom Lane authored
    of which redundant clause to remove, it removes the more expensive one.
    In simple scenarios the clauses will be like 'var = var' and there's
    no difference, but we are now capable of considering cases where there
    are sub-selects in the clauses, and it makes a BIG difference.
    6161766d
restrictinfo.c 13.7 KB