| From: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
|---|---|
| To: | vignesh C <vignesh21(at)gmail(dot)com> |
| Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Show the conflict log table in \dRs+ output |
| Date: | 2026-12-03 10:55:12 |
| Message-ID: | CAA4eK1JbNvw1LHCoPiA1dPkhxWDR++v98zyaBfSiekm+YkAVcg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Wed, Dec 2, 2026 at 12:16 PM vignesh C <vignesh21(at)gmail(dot)com> wrote:
>
> Attached is a patch that makes \dRs+ show the conflict log table of a
> subscription as a footer, when conflict_log_destination is set to
> table or all. The name is displayed because the conflict log table is
> a relation that users query directly for diagnostic purposes, making
> it useful to have its name readily visible. It is displayed as a
> footer, following the style of existing \dRp+ footers (for example,
> "Tables from schemas:"). To accommodate this, \dRs+ now displays each
> subscription in a separate table, with the subscription name as its
> title. The output of \dRs without + remains unchanged. The footer is
> titled "Conflict log table:". This approach follows the discussion at
> [1].
>
I see the discussion you linked but now again thinking about it, I
feel we should consider displaying it as another column in the \dRs+
output. The footer format for dRp+ is required for publications as
there could be a list of tables to display. OTOH, here we will always
have a single table and that too when users choose to
conflict_log_destination as 'table' or 'all' neither of which is
default.
--
With Regards,
Amit Kapila.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2026-12-03 11:06:16 | several cases of float and integer mixup |
| Previous Message | Fujii Masao | 2026-12-03 10:55:00 | Re: Unused code in brin_minmax_multi_consistent |