Re: Create collation reporting the ICU locale display name - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Create collation reporting the ICU locale display name
Date
Msg-id 20190912185603.GA5512@alvherre.pgsql
Whole thread Raw
In response to Re: Create collation reporting the ICU locale display name  ("Daniel Verite" <daniel@manitou-mail.org>)
Responses Re: Create collation reporting the ICU locale display name  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2019-Sep-12, Daniel Verite wrote:

>     Michael Paquier wrote:
> 
> > On Wed, Sep 11, 2019 at 04:53:16PM +0200, Daniel Verite wrote:
> > > I think it would be nice to have CREATE COLLATION report this
> > > information as feedback in the form of a NOTICE message.
> > > PFA a simple patch implementing that.
> > 
> > Why is that better than the descriptions provided with \dO[S]+ in
> > psql?
> 
> There is no description for collations created outside of
> pg_import_system_collations().

Hmm, sounds like the collation should automatically acquire the display
name as a comment even when created via CREATE COLLATION.

I wonder if INFO is better than NOTICE (I think it is).

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Create collation reporting the ICU locale display name
Next
From: Alvaro Herrera
Date:
Subject: Re: pglz performance