Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uJWJJ-0016qS-9W for pgsql-bugs@arkaria.postgresql.org; Mon, 26 May 2025 11:48:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uJWJH-001JxM-O6 for pgsql-bugs@arkaria.postgresql.org; Mon, 26 May 2025 11:48:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uJWJH-001JxE-Fy for pgsql-bugs@lists.postgresql.org; Mon, 26 May 2025 11:48:03 +0000 Received: from mout-p-102.mailbox.org ([2001:67c:2050:0:465::102]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uJWJF-0001kD-1q for pgsql-bugs@lists.postgresql.org; Mon, 26 May 2025 11:48:02 +0000 Received: from smtp102.mailbox.org (smtp102.mailbox.org [IPv6:2001:67c:2050:b231:465::102]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4b5Yt31F0Lz9tMv for ; Mon, 26 May 2025 13:47:55 +0200 (CEST) Date: Mon, 26 May 2025 13:47:54 +0200 From: Christoph Berg To: pgsql-bugs@lists.postgresql.org Subject: Re: Logical replication 'invalid memory alloc request size 1585837200' after upgrading to 17.5 Message-ID: References: <680bdaf6-f7d1-4536-b580-05c2760c67c6@deepbluecap.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <680bdaf6-f7d1-4536-b580-05c2760c67c6@deepbluecap.com> X-Rspamd-Queue-Id: 4b5Yt31F0Lz9tMv List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Re: Duncan Sands > PostgreSQL v17.5 (Ubuntu 17.5-1.pgdg24.04+1); Ubuntu 24.04.2 LTS (kernel > 6.8.0); x86-64 Fwiw, one more field report from Debian: > We had a severe issue after upgrading postgresql-16 from 16.8-1.pgdg110+1 to 16.9-1.pgdg110+1. The following error happened quickly on a logical replication (sorry for the French). > > ERREUR: n'a pas pu recevoir des données du flux de WAL : ERROR: invalid memory alloc request size 1196912896 > > After trying several things, we finally managed to restart the replication after downgrading the pg-related packages on this host alone (the other servers were not impacted). https://salsa.debian.org/postgresql/postgresql/-/issues/4 (no extra details in there, though) Christoph