• Tom Lane's avatar
    Fix ancient thinko in default table rowcount estimation. · 75df6dc0
    Tom Lane authored
    The code used sizeof(ItemPointerData) where sizeof(ItemIdData) is correct,
    since we're trying to account for a tuple's line pointer.  Spotted by
    Tomonari Katsumata (bug #12584).
    
    Although this mistake is of very long standing, no back-patch, since it's
    a relatively harmless error and changing it would risk changing default
    planner behavior in stable branches.  (I don't see any change in regression
    test outputs here, but the buildfarm may think differently.)
    75df6dc0
plancat.c 33.4 KB