Re: BUG #16925: ERROR: invalid DSA memory alloc request size 1073741824 CONTEXT: parallel worker
Andrei Lepikhov <a.lepikhov@postgrespro.ru>
From: Andrei Lepikhov <a.lepikhov@postgrespro.ru>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>,
"a.rybakina" <a.rybakina@postgrespro.ru>
Date: 2023-12-11T02:26:33Z
Lists: pgsql-bugs
On 10/12/2023 09:41, Thomas Munro wrote: > On Wed, Dec 6, 2023 at 5:46 PM Andrei Lepikhov > <a.lepikhov@postgrespro.ru> wrote: >> This bug still annoyingly interrupts the queries of some clients. Maybe >> complete this work? > > Ugh, sorry. We had a report, a repro and a candidate patch a couple > of years ago, but I somehow completely forgot about it. I have now > added a CF entry (#4689). Thanks. I think the Parallel Hash Join code is worth discovering extreme cases anyway, but in that case, we have quite a clear bug and must fix it. -- regards, Andrei Lepikhov Postgres Professional
Commits
-
Fix oversized memory allocation in Parallel Hash Join
- 714a987bc133 16.2 landed
- 72d5b27763a8 12.18 landed
- 60de25c6efc8 13.14 landed
- 3bdaa8fc622f 14.11 landed
- 1a7c03e6fc75 15.6 landed
- 2a67b5a60ee6 17.0 landed
-
Limit Parallel Hash's bucket array to MaxAllocSize.
- 86a2218eb00e 11.0 cited