• Tom Lane's avatar
    Don't prematurely cram a value into a short int. · c545e952
    Tom Lane authored
    Since a4d75c86, some buildfarm members have been warning that
    		Assert(attnum <= MaxAttrNumber);
    is useless if attnum is an AttrNumber.  I'm not certain how plausible
    it is that the value coming out of the bitmap could actually exceed
    MaxAttrNumber, but we seem to have thought that that was possible back
    in 7300a699.  Revert the intermediate variable to int so that we have
    the same overflow protection as before.
    c545e952
extended_stats.c 70.6 KB