Thread

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

    Amit Kapila <amit.kapila16@gmail.com> — 2026-05-27T23:08:11Z

    On Tue, May 26, 2026 at 2:38 AM shveta malik <shveta.malik@gmail.com> wrote:
    >
    > 2)
    > drop_subscription_dependencies():
    >
    > + conflictrelname = get_rel_name(subconflictlogrelid);
    >
    > We can actually have a sanity check that we got the CLT using the relid.
    > Assert(conflictrelname != NULL);
    >
    
    elog will suit this place better as this can't be a direct coding
    mistake. I see that at other places we used elog. See
    if (result == NULL)
    elog(ERROR, "cache lookup failed for index %u", indexId);
    
    -- 
    With Regards,
    Amit Kapila.