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.98.2) (envelope-from ) id 1xT2Rs-000000003bX-1nM9 for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Nov 2026 19:33:04 +0000 Received: from localhost ([127.0.0.1]:38224 helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xT2Qs-00000000xwa-2GVL for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Nov 2026 19:32:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]:42644) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xT2Qs-00000000xwS-1IO1 for pgsql-bugs@lists.postgresql.org; Mon, 16 Nov 2026 19:32:02 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xT2Qq-000000002fl-00oM for pgsql-bugs@lists.postgresql.org; Mon, 16 Nov 2026 19:32:01 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.18.1/8.18.1) with ESMTP id 6AGJVw2L126620; Mon, 16 Nov 2026 14:31:58 -0500 DKIM-Filter: OpenDKIM Filter v2.11.0 sss.pgh.pa.us 6AGJVw2L126620 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sss.pgh.pa.us; s=default; t=1794857518; bh=HHc+I3nqNBctCf5Tt0Li6fgPHZLwjjOSZIVL9O53Gdo=; h=From:To:cc:Subject:In-reply-to:References:Date:From; b=1R4VzIeLPf0AkxJWMd9BBtN96n8ecPb57tONOBdIQKqYizTQ0TLBVzlyvC/AV9LeZ txUhzARsSHvGbbquBB9QjnK8lE7ND1jApMI+eLZpq0jjfiwIG7WGB0ZbpIQ4o9T64W jAaPyn3lp1mMW2yKI8CyXeNq3TIzoaYFhrf1alfI= From: Tom Lane To: Daniel Gustafsson cc: hackerzheng666@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #19905: loread() with length near INT_MAX: "invalid memory alloc request size" (int32 overflow) In-reply-to: <2621AACA-0173-4C97-99DA-F73B257BDFAA@yesql.se> References: <19905-3f33374cbee82db1@postgresql.org> <123991.1794854262@sss.pgh.pa.us> <2621AACA-0173-4C97-99DA-F73B257BDFAA@yesql.se> Comments: In-reply-to Daniel Gustafsson message dated "Mon, 16 Nov 2026 19:49:14 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <126618.1794857518.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 16 Nov 2026 14:31:58 -0500 Message-ID: <126619.1794857518@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daniel Gustafsson writes: > On 16 Nov 2026, at 19:37, Tom Lane wrote: >> (It's not just your time to >> commit this, it's that you're loading more work on the translators.) > I made sure to re-use an exsting error message from the large object cod= e to > avoid translation work for no reason. Otherwise this would've been net-n= egative > for sure. Oh, okay. In that case I have no objection if you want to push this. But probably master-only (else I'm gonna have to write a release note) regards, tom lane