• Tom Lane's avatar
    Use repalloc_huge() to enlarge a SPITupleTable's tuple pointer array. · 74a379b9
    Tom Lane authored
    Commit 23a27b03 widened the rows-stored counters to uint64, but
    that's academic unless we allow the tuple pointer array to exceed 1GB.
    
    (It might be a good idea to provide some other limit on how much storage
    a SPITupleTable can eat.  On the other hand, there are plenty of other
    ways to drive a backend into swap hell.)
    
    Dagfinn Ilmari Mannsåker
    74a379b9
spi.c 67.4 KB