| From: | vignesh C <vignesh21(at)gmail(dot)com> |
|---|---|
| To: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
| Cc: | shveta malik <shveta(dot)malik(at)gmail(dot)com>, Peter Smith <smithpb2250(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, shveta malik <shvetamalik(at)gmail(dot)com> |
| Subject: | Re: Show the conflict log table in \dRs+ output |
| Date: | 2026-12-04 14:16:58 |
| Message-ID: | CALDaNm0Wn6dmbSAfTtZQjKctRt4TaCO6__BznRB-VnRObP0Rng@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Fri, 4 Dec 2026 at 11:58, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>
> Yes, it can be easier for scripts but we need to be careful about the
> number of columns being added to \dRs+ meta-command. I think it is
> already on the higher side as compared to other meta commands. It is
> not clear to me how much value we add by displaying the information
> that is easily queryable from pg_subscription (For Example, select
> subname, subconflictlogdest, subconflictlogrelid::regclass from
> pg_subscription;) to display in this meta-command. I know we can argue
> about the existing columns in the same way but I feel let's not add
> more unless we see a value. I think for the first version we can
> simply document how to get CLT info from pg_subscription as I showed
> and then later once the feature is being used widely and we have some
> feedback from the field, we can anyway extend the meta-command (\dRs+)
> to display the additional information.
Thanks for the suggestion, here is a patch to handle the same.
Regards,
Vignesh
| Attachment | Content-Type | Size |
|---|---|---|
| v4-0001-doc-Show-how-to-find-a-subscription-s-conflict-lo.patch | application/octet-stream | 1.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fujii Masao | 2026-12-04 14:55:51 | Re: [PATCH] Add sampling statistics to autoanalyze log output |
| Previous Message | Greg Sabino Mullane | 2026-12-04 14:10:42 | Re: Should we add timing output to pg_upgrade? |