• Tom Lane's avatar
    Fix a pair of related issues with estimation of inequalities that involve · 9d388e1f
    Tom Lane authored
    binary-compatible relabeling of one or both operands.  examine_variable
    should avoid stripping RelabelType from non-variable expressions, so that
    they will continue to have the correct type; and convert_to_scalar should
    just use that type and ignore the other input type.  This isn't perfect
    but it beats failing entirely.  Per example from Michael Fuhr.
    9d388e1f
selfuncs.c 120 KB