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