show schema.collate in explain(verbose on) - Mailing list pgsql-hackers

From wangsh.fnst@fujitsu.com
Subject show schema.collate in explain(verbose on)
Date
Msg-id OS3PR01MB71597DEDF4C3919B42EEEB68F23A9@OS3PR01MB7159.jpnprd01.prod.outlook.com
Whole thread Raw
Responses Re: show schema.collate in explain(verbose on)
List pgsql-hackers
Hi,

The comment of get_collation_name wrote:

   * NOTE: since collation name is not unique, be wary of code that uses this
   * for anything except preparing error messages.

In file explain.c, the function get_collation_name() is called, but the schema
name won't be outputted.

Since the schema name of relation/function name will be outputted in
explain's result when verbose(on) is specified.  I plan to output the schema
name of collation as well as relation/function.

The patch attached, any thought?

Regards
Shenhao Wang


Attachment

pgsql-hackers by date:

Previous
From: "osumi.takamichi@fujitsu.com"
Date:
Subject: RE: Failed transaction statistics to measure the logical replication progress
Next
From: "Drouvot, Bertrand"
Date:
Subject: Re: [BUG] Logical replication failure "ERROR: could not map filenode "base/13237/442428" to relation OID" with catalog modifying txns