Allow tailoring of ICU locales with custom rules

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Allow tailoring of ICU locales with custom rules
Дата
Msg-id 821c71a4-6ef0-d366-9acf-bb8e367f739f@enterprisedb.com
обсуждение исходный текст
Ответы Re: Allow tailoring of ICU locales with custom rules  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
This patch exposes the ICU facility to add custom collation rules to a 
standard collation.  This would allow users to customize any ICU 
collation to whatever they want.  A very simple example from the 
documentation/tests:

CREATE COLLATION en_custom
     (provider = icu, locale = 'en', rules = '&a < g');

This places "g" after "a" before "b".  Details about the syntax can be 
found at 
<https://unicode-org.github.io/icu/userguide/collation/customization/>.

The code is pretty straightforward.  It mainly just records these rules 
in the catalog and feeds them to ICU when creating the collator object.
Вложения

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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: Perform streaming logical transactions by background workers and parallel apply
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: pg_upgrade: Make testing different transfer modes easier