Re: Proposal: Conflict log history table for Logical Replication

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>
Cc: Zhijie Hou <houzhijie22(at)gmail(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, Nisha Moond <nisha(dot)moond412(at)gmail(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, shveta malik <shveta(dot)malik(at)gmail(dot)com>, shihao zhong <zhong950419(at)gmail(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, saurabh singh <saurabh(dot)singh214(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Peter Smith <smithpb2250(at)gmail(dot)com>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, shveta malik <shvetamalik(at)gmail(dot)com>
Subject: Re: Proposal: Conflict log history table for Logical Replication
Date: 2026-11-25 06:54:16
Message-ID: CAA4eK1JGJZ7Kg_fkHV=M2T9K3BH6AsSTi9rffRhxStQRxp1rsw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Nov 25, 2026 at 12:03 PM Hayato Kuroda (Fujitsu)
<kuroda(dot)hayato(at)fujitsu(dot)com> wrote:
>
> > Thanks for the review and sorry I forgot to credit you as a reviewer.
> > I have pushed the patch.
>
> No problem, others contributed more.
>
> > Yes, the current behavior is intentional and I feel that is
> > appropriate. This is because using will make it
> > depend on the session that creates it rather than keeping it tied with
> > subscriptions.
>
> It's because the default_tablespace has a context PGC_USERSET, right?
>

Yes.

> > Also, this is a system-managed table, so it seems apt
> > to keep it at database's default tablespace.
>
> You meant that conflict log table should be handled as system catalogs which are
> created lately, understood. It confirmed that conflict log table can be put at the
> same location as catalogs, see [1].
>

I had not thought from that angle but it makes sense to me.

--
With Regards,
Amit Kapila.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Chen 2026-11-25 07:04:31 Re: [PATCH] psql: Complete GRANTED BY in GRANT and REVOKE
Previous Message shveta malik 2026-11-25 06:53:20 Re: Proposal: Conflict log history table for Logical Replication