Thread

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

    Amit Kapila <amit.kapila16@gmail.com> — 2026-05-05T05:25:44Z

    On Fri, May 1, 2026 at 7:16 PM Dilip Kumar <dilipbalaut@gmail.com> wrote:
    >
    > I have fixed all the reported comments except these four.
    > 1. I'm changing the ConflictLogDest enum from bitmap to integer. I can
    > revert this in the next version but I want to see Peter's opinion
    > first, as he suggested using a bitmap to easily apply bitwise
    > operators.
    >
    
    But that created an array size inconvenience. If you want to wait for
    more comments, I suggest you can keep it as a top-up patch immediately
    after the patch where it is introduced.
    
    Other points:
    *
    subscription’s lifecycle.
    
    I saw the above funny character in 0002's commit message.
    
    *
    +
    + ereport(NOTICE,
    + (errmsg("created conflict log table pg_conflict.\"%s\" for
    subscription \"%s\"",
    + relname, subname)));
    
    I think we can use a new function introduced by 0001 to get a
    qualified relname instead of doing it manually here.
    
    -- 
    With Regards,
    Amit Kapila.