Hi, 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].
This is the same patch as v97 at [2], except for one new test to verify the CLT is included as a subscription footer. [1] https://www.postgresql.org/message-id/CAA4eK1KdKqKkaTqcj3in6ehD_hg6oOaCF_-JsVfd8N6nS8oV9g%40mail.gmail.com [2] https://www.postgresql.org/message-id/1257417f-cc58-4039-b8a9-498ff361ebf1%40gmail.com Regards, Vignesh
0001-Add-conflict-log-table-information-to-describe-subsc.patch
Description: Binary data
