• Tom Lane's avatar
    Prefer actual constants to pseudo-constants in equivalence class machinery. · 17804fa7
    Tom Lane authored
    generate_base_implied_equalities_const() should prefer plain Consts over
    other em_is_const eclass members when choosing the "pivot" value that
    all the other members will be equated to.  This makes it more likely that
    the generated equalities will be useful in constraint-exclusion proofs.
    Per report from Rushabh Lathia.
    17804fa7
equivclass.c 73.8 KB