Re: Logical replication 'invalid memory alloc request size 1585837200' after upgrading to 17.5

Duncan Sands <duncan.sands@deepbluecap.com>

From: Duncan Sands <duncan.sands@deepbluecap.com>
To: Masahiko Sawada <sawada.mshk@gmail.com>, vignesh C <vignesh21@gmail.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>, "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>, "pgsql-bugs@lists.postgresql.org" <pgsql-bugs@lists.postgresql.org>
Date: 2025-06-20T07:48:25Z
Lists: pgsql-bugs
Many thanks to all of you for working on this.

Best wishes, Duncan.

>>> I've attached the updated patches accordingly and the commit messages.
>>
>> Thanks, the changes look good to me.
> 
> Pushed the fix (d87d07b7ad3). Thank you for working on this fix.
> 
> Regards,
> 




Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix cache-dependent test failures in logical decoding.

  2. Fix re-distributing previously distributed invalidation messages during logical decoding.

  3. Fix data loss in logical replication.