From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 18AE928234 for ; Wed, 6 Mar 2019 01:36:33 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1fyTlbq6mg4u for ; Wed, 6 Mar 2019 01:36:33 -0500 (EST) Received: from smtp55.i.mail.ru (smtp55.i.mail.ru [217.69.128.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id C656128215 for ; Wed, 6 Mar 2019 01:36:32 -0500 (EST) Subject: [tarantool-patches] Re: [PATCH v4] Feature request for a new collation References: <20190305114431.31311-1-szudin@tarantool.org> <20190305154146.GA6860@chai> From: Stanislav Zudin Message-ID: <35d9a188-03ec-b177-a039-650f15da1fa0@tarantool.org> Date: Wed, 6 Mar 2019 09:36:29 +0300 MIME-Version: 1.0 In-Reply-To: <20190305154146.GA6860@chai> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: Konstantin Osipov Cc: tarantool-patches@freelists.org On 05.03.2019 18:41, Konstantin Osipov wrote: > * Stanislav Zudin [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@collation=phonebook;calendar=islamic-civil". The max length is not specified.