| From: | shveta malik <shveta(dot)malik(at)gmail(dot)com> |
|---|---|
| To: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
| Cc: | Dilip Kumar <dilipbalaut(at)gmail(dot)com>, Nisha Moond <nisha(dot)moond412(at)gmail(dot)com>, Peter Smith <smithpb2250(at)gmail(dot)com>, vignesh C <vignesh21(at)gmail(dot)com>, Masahiko Sawada <sawada(dot)mshk(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 <shveta(dot)malik(at)gmail(dot)com> |
| Subject: | Re: Proposal: Conflict log history table for Logical Replication |
| Date: | 2026-04-28 04:31:02 |
| Message-ID: | CAJpy0uBAK4gbQgtYiz+=Rynt7Uzx-Us1-rZXgmu9J745oE6PVw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Tue, Apr 28, 2026 at 9:55 AM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>
> On Mon, Apr 27, 2026 at 9:51 PM Dilip Kumar <dilipbalaut(at)gmail(dot)com> wrote:
> >
> > On Mon, Apr 27, 2026 at 3:08 PM shveta malik <shveta(dot)malik(at)gmail(dot)com> wrote:
> > >
> >
> > > 3)
> > > Also I would like to know which one is better here:
> > >
> > > \dRs+ giving 'Conflict log table' in tabular format (current way)
> > >
> > > Or giving it as 'Conflict log table' at the end, like:
> > >
> > > Conflict Log Table:
> > > "pg_conflict.pg_conflict_16395"
> > >
> > > I’m slightly inclined toward option 2, similar to how \dRp shows
> > > “Tables” and “Except tables” at the end; it catches the eye faster.
> > > But I don't have a strong opinion here. I'd be interested to hear what
> > > others think.
> >
> > I am not completely convinced, but I don't have a strong opinion
> > against it, so as you said, let's hear from others as well.
> >
>
> Is there a need to even show the CLT name? We create origin also as
> part of subscription but don't display its name in this command.
>
I think the difference is that replication origins are mostly internal
replication state and users do not typically interact with them
directly, so not displaying them in this command seems reasonable. In
contrast, the conflict log table is a user-visible relation that users
may query directly for diagnostics and statistics, so it may make
sense to show it for quick reference.
thanks
Shveta
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2026-04-28 04:59:53 | Re: Proposal: Conflict log history table for Logical Replication |
| Previous Message | David Rowley | 2026-04-28 04:27:59 | Any reason to keep HEAP_HASOID_OLD? |