summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-11-08 19:27:24 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-11-08 19:27:24 +0000
commit808b3190d143f3df7217f94aff9e97fdf19c790a (patch)
treef272c68cb1e2ce8db88d066b38fadedde690da2f /src/backend/access/gist/gistget.c
parentfc5eb3f69a32f1bc5109576f5725dbdc33cdc1ca (diff)
downloadpostgresql-808b3190d143f3df7217f94aff9e97fdf19c790a.tar.gz
Modify aset.c to track the next intended block allocation size explicitly.
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.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions