pgsql: GIN index build's allocatedMemory counter needs to be long, not

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: GIN index build's allocatedMemory counter needs to be long, not
Дата
Msg-id 20071116215013.146AD7540F0@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
GIN index build's allocatedMemory counter needs to be long, not uint32.
Else, in a 64-bit machine with maintenance_work_mem set to above 4Gb,
the counter overflows and we never recognize having reached the
maintenance_work_mem limit.  I believe this explains out-of-memory
failure recently reported by Sean Davis.

This is a bug, so backpatch to 8.2.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/include/access:
        gin.h (r1.9 -> r1.9.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/access/gin.h?r1=1.9&r2=1.9.2.1)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: GIN index build's allocatedMemory counter needs to be long, not
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Improve GIN index build's tracking of memory usage by using