Case Insensitive Comparison with Postgres 12

Поиск
Список
Период
Сортировка
I am trying to test a simple case insensitive comparison.  Most likely the collation that I chose is wrong, but I'm not sure how to choose the correct one (for English/US?).  Here is my snippet:

create collation case_insensitive(
    provider=icu, locale='en-US-x-icu', deterministic=false
);
select 'Abc' = 'abc' collate case_insensitive;

I expected true but am getting false.

Any thoughts?

Thanks,

Igal

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

Предыдущее
От: Ron
Дата:
Сообщение: Re: Declarative Range Partitioning Postgres 11
Следующее
От: Morris de Oryx
Дата:
Сообщение: Re: Case Insensitive Comparison with Postgres 12