Re: Explicit deterministic COLLATE fails with pattern matchingoperations on column with non-deterministic collation

Поиск
Список
Период
Сортировка
От Daniel Verite
Тема Re: Explicit deterministic COLLATE fails with pattern matchingoperations on column with non-deterministic collation
Дата
Msg-id 6351fb21-8282-406c-af64-22a3c9e1219b@manitou-mail.org
обсуждение исходный текст
Ответ на Re: Explicit deterministic COLLATE fails with pattern matching operations on column with non-deterministic collation  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Explicit deterministic COLLATE fails with pattern matchingoperations on column with non-deterministic collation
Список pgsql-bugs
    Tom Lane wrote:

> I suspect that the 'en-US-ks-level2' ICU locale doesn't act as you
> think it does.

Indeed, because the syntax is tricky. The OP wants 'en-US-u-ks-level2'.
With 'en-US-ks-level2', the ks-level2 component is ignored and you
get a tertiary colstrength.

Or use 'en-US@colStrength=secondary' which is possibly more
readable and works with older versions of ICU.


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



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Explicit deterministic COLLATE fails with pattern matching operations on column with non-deterministic collation
Следующее
От: James Lucas
Дата:
Сообщение: Re: Explicit deterministic COLLATE fails with pattern matchingoperations on column with non-deterministic collation