• Tom Lane's avatar
    Modify aset.c to track the next intended block allocation size explicitly. · 808b3190
    Tom Lane authored
    The former coding relied on the actual allocated size of the last block,
    which made it behave strangely if the first allocation in a context was
    larger than ALLOC_CHUNK_LIMIT: subsequent allocations would be referenced
    to that and not to the intended series of block sizes.  Noted while
    studying a memory wastage gripe from Tatsuo.
    808b3190
aset.c 33 KB