Re: BUG #19555: TRAP: failed Assert (ent->cmin == change->data.tuplecid.cmin) on logical replication

From: li kid <lucian1412(at)outlook(dot)com>
To: "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Cc: "a(dot)kozhemyakin(at)postgrespro(dot)ru" <a(dot)kozhemyakin(at)postgrespro(dot)ru>, "pl0h0yp1(at)gmail(dot)com" <pl0h0yp1(at)gmail(dot)com>
Subject: Re: BUG #19555: TRAP: failed Assert (ent->cmin == change->data.tuplecid.cmin) on logical replication
Date: 2026-08-06 12:06:05
Message-ID: ME0P300MB05683B378FB96C847F161BB4C6D22@ME0P300MB0568.AUSP300.PROD.OUTLOOK.COM
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

As Andrey noted, this report is the cmin half of the issue whose
cmax half was fixed in 8c67d29fd51. Confirmed on current master
(36f7330b8b2) with a slightly different table shape, and there is
an existing patch on pgsql-hackers [1], which fixes the crash in
my testing. I have posted reproduction results, a WAL-level
confirmation of the diagnosis, and review comments in that
thread [2].

[1] https://www.postgresql.org/message-id/CAHgHdKu5e3XY5e90Tuaxq_R4WrKxSV734Q%2BLwo5y39Omp2A-Gg%40mail.gmail.com
[2] https://www.postgresql.org/message-id/ME0P300MB05682FD742273EC64362A8A1C6D42%40ME0P300MB0568.AUSP300.PROD.OUTLOOK.COM

Thanks,
Bingshuai Li

In response to

Browse pgsql-bugs by date

  From Date Subject
Previous Message Michael Paquier 2026-08-06 05:43:38 Re: BUG #19608: Error while Reindexing Main Table