On Wed, Dec 2, 2026 at 3:28 PM Zhijie Hou <[email protected]> wrote: > > Hi, > > On Wed, Dec 2, 2026 at 05:20 PM shveta malik wrote: > > 1) The CLT name shown depends on search_path. If search_path does not > > include the pg_conflict schema, it shows: > > > > \dRs+ ... Conflict log table: > > pg_conflict.pg_conflict_log_16402 > > > > But if pg_conflict is added to search_path, it shows: > > > > \dRs+ ... Conflict log table: > > pg_conflict_log_16402 > > > > This is inconsistent with \dRp+, which always shows the schema name of > > the published tables, irrespective of search_path. Shall we build the > > name as n.nspname || '.' || c.relname (as \dRp+ does) instead of using > > subconflictlogrelid::regclass::text? > > I also noticed this, but I feel the current behavior is fine as > pre-existing \d+ footers (such as "Inherits:", "Partitions:", and > "Partition of:") also format relation OIDs via regclass without outer > quotes, omitting the schema only when the table resolves unambiguously > in the current search_path (and pg_conflict is not in the default > search_path anyway). > > Since the main purpose of showing the conflict log table is so users can > query it directly, unquoted regclass output > (pg_conflict.pg_conflict_log_<subid>) seems convenient to copy-paste > into SELECT * FROM ..., whereas "\"pg_conflict. >
Okay, makes sense. thanks Shveta
