On Fri, Dec 4, 2026 at 11:58 AM Amit Kapila <[email protected]> wrote: > > On Fri, Dec 4, 2026 at 9:28 AM shveta malik <[email protected]> wrote: > > > > On Fri, Dec 4, 2026 at 7:19 AM Peter Smith <[email protected]> wrote: > > > > > > Yes, a column is OK in lieue of a footer. Already, psql treats the > > > same kind of property differently in a list and in a single-object > > > display: e.g. for tables, "Access method" is a column in the "\d+" > > > list but a footer for "\d+ t1" (where a pattern is given). > > > > > > Since the CLT name only has a value when the destination is 'table' or > > > 'all' (neither is the default), one idea might be to fold it into the > > > existing destination column instead of adding another mostly-empty > > > column: > > > > > > Conflict log destination > > > ----------------------------------------- > > > log > > > table (pg_conflict.pg_conflict_log_16406) > > > all (pg_conflict.pg_conflict_log_16406) > > > > > > > That's a good suggestion, but I'm slightly inclined towards a separate > > column (if not a footer). Keeping one piece of information per column > > makes it easier for scripts and monitoring tools to parse, e.g. they > > can compare the destination with table directly instead of stripping > > the table name first. > > > > 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.
Okay, works for me. thanks Shveta
