[tarantool-patches] Re: [PATCH v4] Feature request for a new collation
Stanislav Zudin
szudin at tarantool.org
Wed Mar 6 11:23:51 MSK 2019
On 06.03.2019 11:11, Konstantin Osipov wrote:
> * Stanislav Zudin <szudin at tarantool.org> [19/03/06 10:24]:
>>
>>
>> On 05.03.2019 18:41, Konstantin Osipov wrote:
>>> * Stanislav Zudin <szudin at tarantool.org> [19/03/05 14:45]:
>>>> /** Maximal length of locale name. */
>>>> enum {
>>>> - COLL_LOCALE_LEN_MAX = 16,
>>>> + COLL_LOCALE_LEN_MAX = 1024,
>>>> };
>>>
>>> Why?
>>>
>>
>> Because locale may include numerous options such as collation, numbers,
>> calendar etc. e.g.: "fr at collation=phonebook;calendar=islamic-civil".
>> The max length is not specified.
>
> *Nobody* except us can add a new collation. The names of the
> collations you added don't exceed 16 bytes. Please keep the old
> value.
>
strlen("de_DE_u_co_phonebk") == 18.
More information about the Tarantool-patches
mailing list