pgsql: Use repalloc_huge() to enlarge a SPITupleTable's tuple pointer a

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Use repalloc_huge() to enlarge a SPITupleTable's tuple pointer a
Дата
Msg-id E1afX8r-0006ur-0i@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use repalloc_huge() to enlarge a SPITupleTable's tuple pointer array.

Commit 23a27b039d94ba35 widened the rows-stored counters to uint64, but
that's academic unless we allow the tuple pointer array to exceed 1GB.

(It might be a good idea to provide some other limit on how much storage
a SPITupleTable can eat.  On the other hand, there are plenty of other
ways to drive a backend into swap hell.)

Dagfinn Ilmari Mannsåker

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/74a379b984d4df91acec2436a16c51caee3526af

Modified Files
--------------
src/backend/executor/spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Improve check for overly-long extensible node name.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Update more comments for 96198d94cb7adc664bda341842dc8db671d8be7