• Tom Lane's avatar
    Repair error noticed by Roberto Cornacchia: selectivity code · 51db6455
    Tom Lane authored
    was rejecting negative attnums as bogus, which of course they are not.
    Add code to get_attdisbursion to produce a useful value for OID attribute,
    since VACUUM does not store stats for system attributes.
    Also, repair bug that's been in eqjoinsel for a long time: it was taking
    the max of the two columns' disbursions, whereas it should use the min.
    51db6455
plancat.c 16.1 KB