[tarantool-patches] Re: [PATCH v4] Feature request for a new collation

Stanislav Zudin szudin at tarantool.org
Wed Mar 6 09:36:29 MSK 2019



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.




More information about the Tarantool-patches mailing list