Re: Add standard collation UNICODE

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Add standard collation UNICODE
Дата
Msg-id e44e28ca-fce3-00c1-9d7c-753cac301b30@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Add standard collation UNICODE  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: Add standard collation UNICODE  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
On 08.03.23 19:25, Jeff Davis wrote:
> Why is "unicode" only provided for the UTF-8 encoding? For "ucs_basic"
> that makes some sense, because the implementation only works in UTF-8.
> But here we are using ICU, and the "und" locale should work for any
> ICU-supported encoding. I suggest that we use collencoding=-1 for
> "unicode", and the docs can just add a note next to "ucs_basic" that it
> only works for UTF-8, because that's the weird case.

make sense

> For the docs, I suggest that you clarify that "ucs_basic" has the same
> behavior as the C locale does *in the UTF-8 encoding*. Not all users
> might pick up on the subtlety that the C locale has different behaviors
> in different encodings.

Ok, word-smithed a bit more.

How about this patch version?


Вложения

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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Raising the SCRAM iteration count
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Allow tests to pass in OpenSSL FIPS mode