Re: Proposal: Conflict log history table for Logical Replication
Dilip Kumar <dilipbalaut@gmail.com>
From: Dilip Kumar <dilipbalaut@gmail.com>
To: Nisha Moond <nisha.moond412@gmail.com>
Cc: vignesh C <vignesh21@gmail.com>, Amit Kapila <amit.kapila16@gmail.com>, shveta malik <shveta.malik@gmail.com>, Peter Smith <smithpb2250@gmail.com>, Masahiko Sawada <sawada.mshk@gmail.com>, Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-06-27T02:37:51Z
Lists: pgsql-hackers
On Thu, Jun 25, 2026 at 8:01 PM Nisha Moond <nisha.moond412@gmail.com> wrote: > > On Wed, Jun 24, 2026 at 7:26 PM Dilip Kumar <dilipbalaut@gmail.com> wrote: > > > > Please find the updated patch set attached. > > Hi Dilip, > > I ran a code coverage report on v56-0001 and v56-0002 and found a few > cases not covered by existing tests. I added tests for the following: > > 1) check_publication_add_relation() – verify that adding a conflict > table to a publication errors out > 2) execMain.c: CheckValidRowMarkRel() – verify row locking on CLT is > rejected for commands like SELECT ... FOR UPDATE > 3) The test scenario shared by Shveta at [1] > > Please consider the patch if you are okay with it. The patch applies > cleanly on top of latest v58-0002 patch, > > [1] https://www.postgresql.org/message-id/CAJpy0uC5x%2BZ%3Dfvurvz%3DK8EYQSCQ1SCouR2LqiHS27Hp_Tzi6qw%40mail.gmail.com Thanks Nisha. I have merged your changes. -- Regards, Dilip Kumar Google
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Allow logical replication conflicts to be logged to a table.
- a5918fddf10d master landed
-
Avoid orphaned objects dependencies
- 2fbb21170e90 19 (unreleased) cited