Create collation reporting the ICU locale display name

Поиск
Список
Период
Сортировка
От Daniel Verite
Тема Create collation reporting the ICU locale display name
Дата
Msg-id 241b1de1-b029-433a-a8ce-37cff582ec9e@manitou-mail.org
обсуждение исходный текст
Ответы Re: Create collation reporting the ICU locale display name  (Michael Paquier <michael@paquier.xyz>)
Re: Create collation reporting the ICU locale display name  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-hackers
 Hi,

The 'locale' or 'lc_collate/lc_ctype' argument of an ICU collation may
have a complicated syntax, especially with non-deterministic
collations, and input mistakes in these names will not necessarily be
detected as such by ICU.

The "display name" of a locale is a simple way to get human-readable
feedback about the characteristics of that locale.
pg_import_system_collations() already push these as comments when
creating locales en masse.

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.


Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Anastasia Lubennikova
Дата:
Сообщение: Re: standby recovery fails (tablespace related) (tentative patch anddiscussion)
Следующее
От: Konstantin Knizhnik
Дата:
Сообщение: Re: Built-in connection pooler