pgsql: Fix oversized memory allocation in Parallel Hash Join

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема pgsql: Fix oversized memory allocation in Parallel Hash Join
Дата
Msg-id E1rMNap-000HoF-9K@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix oversized memory allocation in Parallel Hash Join

During the calculations of the maximum for the number of buckets, take into
account that later we round that to the next power of 2.

Reported-by: Karen Talarico
Bug: #16925
Discussion: https://postgr.es/m/16925-ec96d83529d0d629%40postgresql.org
Author: Thomas Munro, Andrei Lepikhov, Alexander Korotkov
Reviewed-by: Alena Rybakina
Backpatch-through: 12

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/72d5b27763a86c1d9af79e3169aef885b79373a3

Modified Files
--------------
src/backend/executor/nodeHash.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)


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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: pgsql: Fix the issue that SJE mistakenly omits qual clauses
Следующее
От: Alexander Korotkov
Дата:
Сообщение: pgsql: Fix oversized memory allocation in Parallel Hash Join