Re: BUG #19345: MemoryContextSizeFailure after upgrade 14.11 to 17.7 in stored procedure

Kirill Reshke <reshkekirill@gmail.com>

From: Kirill Reshke <reshkekirill@gmail.com>
To: weijie1006jl@gmail.com, pgsql-bugs@lists.postgresql.org
Date: 2025-12-05T13:36:27Z
Lists: pgsql-bugs
On Fri, 5 Dec 2025 at 15:38, PG Bug reporting form
<noreply@postgresql.org> wrote:

> SET hash_mem_multiplier = 1; → procedure runs successfully.

I think this is because of

https://git.postgresql.org/cgit/postgresql.git/commit/?id=8f388f6f554b113f25a53fe3237238d2c58ed1eb

We have this is release notes https://postgr.es/c/8f388f6f5


So, after upgrading to 17 (and thus, having this change), defaults
changed, some queries now need adjustment... I am not sure we have
fixable problem in HEAD here

-- 
Best regards,
Kirill Reshke