Re: Proposal: Conflict log history table for Logical Replication

From: Raja Sai pranav <rajasaipranav0(at)gmail(dot)com>
To: houzhijie22(at)gmail(dot)com
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, amit(dot)kapila16(at)gmail(dot)com, shveta(dot)malik(at)gmail(dot)com
Subject: Re: Proposal: Conflict log history table for Logical Replication
Date: 2026-11-26 10:31:53
Message-ID: CAPHduZB0jQc8JX1h1QELsUaEDhngbQR+fPdgO7Cj=F0Wwe10AQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Nov 24, 2026 at 07:46 AM Zhijie Hou wrote:
> Here is the v97 patch set

I tested 0002 on master (9ebc9a458c). Since 0001 went in, pg_dump of
a database with a subscription using conflict_log_destination = 'all'
prints:

pg_dump: warning: could not resolve dependency loop among these items:
pg_dump: detail: TABLE pg_conflict_log_16414 ...
pg_dump: detail: SUBSCRIPTION ...

and the dumped CREATE SUBSCRIPTION has no conflict_log_destination.
With 0002 applied, the warning is gone, the option is dumped, and
the dump restores with a new conflict log table.

Regards,
Sai Pranav

Browse pgsql-hackers by date

  From Date Subject
Next Message Nisha Moond 2026-11-26 10:46:34 Re: Conflict Detection and Resolution
Previous Message Shuntian Jiao 2026-11-26 10:26:55 Re: reltuples kept decreasing with each autovacuum run Re: BUG #18773