pgsql: Tweak accumArrayResult() to double the size of its working arrays

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Tweak accumArrayResult() to double the size of its working arrays
Дата
Msg-id 20061108192438.99FF99FB26B@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Tweak accumArrayResult() to double the size of its working arrays when
more space is needed, instead of incrementing by a fixed amount; the old
method wastes lots of space and time when the ultimate size is large.
Per gripe from Tatsuo.

Modified Files:
--------------
    pgsql/src/include/utils:
        array.h (r1.59 -> r1.60)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/array.h.diff?r1=1.59&r2=1.60)
    pgsql/src/backend/utils/adt:
        arrayfuncs.c (r1.134 -> r1.135)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/arrayfuncs.c.diff?r1=1.134&r2=1.135)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix performance issues in replace_text(), replace_text_regexp(),
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Modify aset.c to track the next intended block allocation size