Thread

  1. Re: Proposal: Conflict log history table for Logical Replication

    Dilip Kumar <dilipbalaut@gmail.com> — 2025-12-22T10:31:11Z

    On Sat, Dec 20, 2025 at 4:50 PM Dilip Kumar <dilipbalaut@gmail.com> wrote:
    >
    > On Sat, Dec 20, 2025 at 3:17 PM vignesh C <vignesh21@gmail.com> wrote:
    
    > I have updated the patch and here are changes done
    > 1. Splitted into 2 patches, 0001- for catalog related changes
    > 0002-inserting conflict into the conflict table, Vignesh need to
    > rebase the dump and upgrade related patch on this latest changes
    > 2. Subscription option changed to conflict_log_destination=(log/table/all/'')
    > 3. For internal processing we will use ConflictLogDest enum whereas
    > for taking input or storing into catalog we will use string [1].
    > 4. As suggested by Sawada San, if conflict_log_destination is 'table'
    > we log the information about conflict but don't log the tuple
    > details[3]
    >
    > Pending:
    > 1. tap test for conflict insertion
    
    Done in V15
    > 2. Still need to work on caching related changes discussed at [2], so
    > currently we don't allow conflict log tables to be added to
    > publication at all and might change this behavior as discussed at [2]
    > and for that we will need to implement the caching.
    
    Pending
    
    > 3. Need to add conflict insertion test and doc changes.
    
    Done
    
    > 4. Still need to check on the latest comments from Peter Smith.
    
    Done
    
    While planning to send the patch, I have noticed some latest comments
    from Shveta and Vignesh, so I will analyze those in the next version.
    
    V15-0004 is Vignesh's patch which is attached as it is and I am going
    to review that soon.
    
    
    -- 
    Regards,
    Dilip Kumar
    Google