pgsql: pg_buffercache: Allow huge allocations.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: pg_buffercache: Allow huge allocations.
Дата
Msg-id E1bkWoJ-000278-Rw@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
pg_buffercache: Allow huge allocations.

Otherwise, users who have configured shared_buffers >= 256GB won't
be able to use this module.  There probably aren't many of those, but
it doesn't hurt anything to fix it so that it works.

Backpatch to 9.4, where MemoryContextAllocHuge was introduced.  The
same problem exists in older branches, but there's no easy way to
fix it there.

KaiGai Kohei

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/60b6d99dac05b888b7f121720cafea88ba0c9307

Modified Files
--------------
contrib/pg_buffercache/pg_buffercache_pages.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: pg_buffercache: Allow huge allocations.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Make min_parallel_relation_size's default value platform-indepen