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

Konstantin Osipov kostja.osipov at gmail.com
Wed Mar 6 12:48:02 MSK 2019


* Stanislav Zudin <szudin at tarantool.org> [19/03/06 11:26]:
> 
> 
> 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.

+ "unicode_", then, increase to a relevant value please.

-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov




More information about the Tarantool-patches mailing list