pgsql: Modify aset.c to track the next intended block allocation size

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Modify aset.c to track the next intended block allocation size
Дата
Msg-id 20061108192724.371139FB26B@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/utils/mmgr:
        aset.c (r1.68 -> r1.69)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mmgr/aset.c.diff?r1=1.68&r2=1.69)

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Tweak accumArrayResult() to double the size of its working arrays
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Change Windows rename and unlink substitutes so that they time