• Tom Lane's avatar
    Fix longstanding error in contrib/intarray's int[] & int[] operator. · 06d9afa6
    Tom Lane authored
    The array intersection code would give wrong results if the first entry of
    the correct output array would be "1".  (I think only this value could be
    at risk, since the previous word would always be a lower-bound entry with
    that fixed value.)
    
    Problem spotted by Julien Rouhaud, initial patch by Guillaume Lelarge,
    cosmetic improvements by me.
    06d9afa6
_int.sql 4.13 KB