RE: [BUG] Assert failure in ReorderBufferReturnTXN during logical decoding due to leaked specinsert change

Hayato Kuroda (Fujitsu) <kuroda.hayato@fujitsu.com>

From: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
To: 'Álvaro Herrera' <alvherre@kurilemu.de>
Cc: 'Vishal Prasanna' <vishal.g@zohocorp.com>, pgsql-bugs <pgsql-bugs@lists.postgresql.org>
Date: 2026-06-17T01:44:05Z
Lists: pgsql-bugs
Dear Álvaro,

Thanks for pushing and sorry for the late reply.
I didn't notice that.

> I ended up pushing to 14 after all, after I noticed that the code in
> that branch is pretty much identical to what's in 15 -- it was only the
> test code that required a separate patch file.

Yes. Per my understanding, the test except PG14 used the row filter, it was
added in PG15. Instead it tried to publish changes from the non-exist publication.

Best regards,
Hayato Kuroda
FUJITSU LIMITED

Commits

  1. logical decoding: Correctly free speculative insertion

  2. Fix memory counter update in ReorderBuffer.