pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix oversized memory allocation in Parallel Hash Join
6+ messages / 1 participants
[nested] [flat]

* pgsql: Fix oversized memory allocation in Parallel Hash Join
@ 2024-01-07 07:29  Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Alexander Korotkov @ 2024-01-07 07:29 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix oversized memory allocation in Parallel Hash Join
@ 2024-01-07 07:29  Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Alexander Korotkov @ 2024-01-07 07:29 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/60de25c6efc8e5283094c74824f46f71ae483a8f

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix oversized memory allocation in Parallel Hash Join
@ 2024-01-07 07:29  Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Alexander Korotkov @ 2024-01-07 07:29 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3bdaa8fc622f51ab2836314a9f087b6af81eef06

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix oversized memory allocation in Parallel Hash Join
@ 2024-01-07 07:29  Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Alexander Korotkov @ 2024-01-07 07:29 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1a7c03e6fc75d2a5ee4893252d47f0549f078494

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix oversized memory allocation in Parallel Hash Join
@ 2024-01-07 07:30  Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Alexander Korotkov @ 2024-01-07 07:30 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2a67b5a60ee68892bb028587ddc6de7650822480

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix oversized memory allocation in Parallel Hash Join
@ 2024-01-07 07:33  Alexander Korotkov <akorotkov@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Alexander Korotkov @ 2024-01-07 07:33 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/714a987bc1333121bb83415f764076c8e7e8d8fb

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2024-01-07 07:33 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-01-07 07:29 pgsql: Fix oversized memory allocation in Parallel Hash Join Alexander Korotkov <akorotkov@postgresql.org>
2024-01-07 07:29 pgsql: Fix oversized memory allocation in Parallel Hash Join Alexander Korotkov <akorotkov@postgresql.org>
2024-01-07 07:29 pgsql: Fix oversized memory allocation in Parallel Hash Join Alexander Korotkov <akorotkov@postgresql.org>
2024-01-07 07:29 pgsql: Fix oversized memory allocation in Parallel Hash Join Alexander Korotkov <akorotkov@postgresql.org>
2024-01-07 07:30 pgsql: Fix oversized memory allocation in Parallel Hash Join Alexander Korotkov <akorotkov@postgresql.org>
2024-01-07 07:33 pgsql: Fix oversized memory allocation in Parallel Hash Join Alexander Korotkov <akorotkov@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox