From: Tom Lane <tgl@sss.pgh.pa.us>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: hackerzheng666@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19905: loread() with length near INT_MAX: "invalid memory alloc request size" (int32 overflow)
Date: Mon, 16 Nov 2026 14:31:58 -0500
Message-ID: <126619.1794857518@sss.pgh.pa.us> (raw)
In-Reply-To: <2621AACA-0173-4C97-99DA-F73B257BDFAA@yesql.se>
References: <19905-3f33374cbee82db1@postgresql.org>
<B5B036C4-8812-4C8C-A28A-23704BF2F857@yesql.se>
<123991.1794854262@sss.pgh.pa.us>
<2621AACA-0173-4C97-99DA-F73B257BDFAA@yesql.se>
Daniel Gustafsson <daniel@yesql.se> writes:
> On 16 Nov 2026, at 19:37, Tom Lane <tgl@sss.pgh.pa.us> 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 code to
> avoid translation work for no reason. Otherwise this would've been net-negative
> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, daniel@yesql.se, hackerzheng666@gmail.com
Subject: Re: BUG #19905: loread() with length near INT_MAX: "invalid memory alloc request size" (int32 overflow)
In-Reply-To: <126619.1794857518@sss.pgh.pa.us>
References: <19905-3f33374cbee82db1@postgresql.org> <B5B036C4-8812-4C8C-A28A-23704BF2F857@yesql.se> <123991.1794854262@sss.pgh.pa.us> <2621AACA-0173-4C97-99DA-F73B257BDFAA@yesql.se> <126619.1794857518@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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