Re: Create collation reporting the ICU locale display name

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Daniel Verite <daniel(at)manitou-mail(dot)org>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Create collation reporting the ICU locale display name
Date: 2019-09-12 18:56:03
Message-ID: 20190912185603.GA5512@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2019-09-12 18:58:18 Re: pglz performance
Previous Message Peter Geoghegan 2019-09-12 18:35:25 Re: Create collation reporting the ICU locale display name