Re: Logical replication 'invalid memory alloc request size 1585837200' after upgrading to 17.5
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Masahiko Sawada <sawada.mshk@gmail.com>
Cc: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>,
vignesh C <vignesh21@gmail.com>, "pgsql-bugs@lists.postgresql.org" <pgsql-bugs@lists.postgresql.org>, Duncan Sands <duncan.sands@deepbluecap.com>,
Alexander Lakhin <exclusion@gmail.com>
Date: 2025-06-24T03:51:06Z
Lists: pgsql-bugs
On Tue, Jun 24, 2025 at 6:54 AM Masahiko Sawada <sawada.mshk@gmail.com> wrote: > > On Mon, Jun 23, 2025 at 11:05 PM Masahiko Sawada <sawada.mshk@gmail.com> wrote: > > > > On Mon, Jun 23, 2025 at 9:03 PM Hayato Kuroda (Fujitsu) > > <kuroda.hayato@fujitsu.com> wrote: > > > > > > Dear Sawada-san, > > > > > > > One solution is to have two expected-output files to cover both cases. > > > > We do a similar thing for the plpgsql_cache.sql test case. What do you > > > > think? > > > > > > Personally I don't like the approach because XXX_1.out can be easily missed to be > > > updated, but it is not a strong opinion. > > > > I think that we have only a few releases for v13 and there would not > > likely be many cases where we need to update _1.out file. But I'm open > > to other ideas. Do you prefer removing the test from v13? I'm not sure > > that just because it's easy to miss updating a _1.out file is a good > > reason to remove tests. > > > > I've added the patch for that idea for discussion. I considered moving > the new cache-behavior-dependent test to another test file to minimize > the maintenance effort but didn't do that at this stage as the test > file has only a few tests. > Your proposal sounds good to me. -- With Regards, Amit Kapila.
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix cache-dependent test failures in logical decoding.
- 87819f766f37 13.22 landed
-
Fix re-distributing previously distributed invalidation messages during logical decoding.
- d87d07b7ad3b 18.0 landed
- 45c357e0e85d 17.6 landed
- b2ae077205e1 16.10 landed
- fc0fb77c550f 15.14 landed
- 983b3636259b 14.19 landed
- 1230be12f086 13.22 landed
-
Fix data loss in logical replication.
- 247ee94150b6 13.21 cited
- 4909b38af034 18.0 cited