Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avivA-0003WV-NX for pgsql-bugs@arkaria.postgresql.org; Thu, 28 Apr 2016 10:11:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aviv9-0006tT-Lr for pgsql-bugs@arkaria.postgresql.org; Thu, 28 Apr 2016 10:11:43 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aviv8-0006t6-PN for pgsql-bugs@postgresql.org; Thu, 28 Apr 2016 10:11:42 +0000 Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1aviv3-0002Uv-71 for pgsql-bugs@postgresql.org; Thu, 28 Apr 2016 10:11:41 +0000 Received: by mail-lf0-x22d.google.com with SMTP id c126so89229567lfb.2 for ; Thu, 28 Apr 2016 03:11:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=internet-ee.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=mYqeYYRG5RAbl9GdC315c0RrnP6LQ7X+RsxECU0qr58=; b=RuOJly7d1Gk51myo908W6ZaU3yDMrIwSjRG9I5esZhIhF2tS9/Q0MhSaYqygaOEGWU Xqvcy/ZEgWeKBB64WFAvEkTR7rtkC31a/21ASSbQjJXO/z4zqD9CnAYIFXlJXPn+GFee Afpx18VrVR5kFTtACWv5r/FryPUdS7foeNRI4LSYVlSwSb0GpEIdZgrBkj6DVW32tTYh Y8ctjc/Iv9pB51Snl+Fl0N9pyhW45Bzzhd6RAFr0DKdfGXV9tdCoxC7tHgRt0yr6ldTr sdOgzYtjKlyfReV5sux+dcZ6j16+8zniGCTEdZaOeZQ7w5f7wqf7KEHkUK+h/Eo72m+J I6xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=mYqeYYRG5RAbl9GdC315c0RrnP6LQ7X+RsxECU0qr58=; b=IS6UM5DX7ZpYfJlNBynUAOyFMdRCjS5tx/MwOGDUEEl5S8H/frsazZYDgfDbqQkuBx U9nTy2bv/eX9KpNCmxZZmOXUgL+LyfHPLzZFQJq6lRwaVs5rNuqsF35wqgg3IWyPyPai 6V6fJof0yfVV8mOse9z7CVknM+m0RM3NNwVXBx1RPnWK9ouh3yqmzSQHsWdHa2PJaQf6 AfqNBlDGoc2s4hpjcttiZemu/MdUiyFkoRayck2fHlk+eMiyeka+bnx/7iYCbG8p0S/a +hVGdkze1hrWPUTmLXO9+gCtHfSuKOn+WM75qMXK90hMQxQDFl9InQqMwnFcR5hrz12p 8FHg== X-Gm-Message-State: AOPr4FWOEx9w+yurawZuiq0SKcXnKzgL+JlEwm+If2WnsXBcWgds9zTEdQwITJumXekdLg== X-Received: by 10.112.61.39 with SMTP id m7mr5801926lbr.72.1461838293588; Thu, 28 Apr 2016 03:11:33 -0700 (PDT) Received: from [192.168.2.4] (rr-5.internet.ee. [195.43.86.5]) by smtp.gmail.com with ESMTPSA id e185sm1604989lfg.45.2016.04.28.03.11.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 28 Apr 2016 03:11:32 -0700 (PDT) Subject: Re: BUG #14112: sorting v and w is broken with et_EE locate To: Thomas Munro , Peter Geoghegan References: <20160425143739.2710.49809@wrigleys.postgresql.org> Cc: PostgreSQL Bugs From: Georg Kahest Message-ID: <5721E1D3.5010706@internet.ee> Date: Thu, 28 Apr 2016 13:11:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.1 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 04/28/2016 08:09 AM, Thomas Munro wrote: > On Thu, Apr 28, 2016 at 4:43 PM, Thomas Munro > wrote: >> On Thu, Apr 28, 2016 at 4:24 PM, Peter Geoghegan >> wrote: >>> On Wed, Apr 27, 2016 at 9:22 PM, Peter Geoghegan >>> wrote: >>>> On Wed, Apr 27, 2016 at 9:07 PM, Thomas Munro >>>> wrote: >>>>> That does look odd. >>>> >>>> What happens if you replace the dot in each string with a >>>> single 'x' character, Georg? Does the sort order look correct >>>> to you then? >>> >>> I ask because I suspect that this might be the same strcoll() >>> bug I describe here: >>> https://bugzilla.redhat.com/show_bug.cgi?id=1320356 >>> >>> (In particular, see my remarks on Austria and Germany.) >> >> No change here. This system has locales-all ("GNU C Library: >> Precompiled locale data") package version 2.19-18+deb8u4 (and >> same libc6). >> >> munro@yoga:~/junk$ LC_COLLATE=et_EE.utf8 sort < input a1.ee >> vvbwjbln7.ee wwvl8.ee wxxezi6lkaq7eoi.ee vyz.ee >> munro@yoga:~/junk$ LC_COLLATE=et_EE.utf8 sort < input2 a1xee >> vvbwjbln7xee wwvl8xee wxxezi6lkaq7eoixee vyzxee > > Same result on a CentOS box. I think the OP should probably write > to bug-glibc-locales@gnu.org. > Hello, Indeed the problem seems to be related to to glibc itself handling it incorrectly. Thank you for your time, ill report the bug to glibc. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXIeHSAAoJEFDOdES6xIFjLNQP/3hLYCBS1ex78SN+uIZGT4xV 1nx/xadb9qQ3AoVT2CsHVgL9QVwCXmNbXR/tAfdj6OKy9i8WMzBvuI4cvZjKB+ei f1FeJc2ldnpLgAQ9/R9FRqMpGch4MnkhwxhK4+c69TqTvugvPwGpSvAddPj5edxn IM2diNuCtQKSw+fHwP1/N4hB67TfFX+rfoHbdhwSlGbuK8Lxs+kpxIecP1WutcS5 jrFbptaLlWKMTptQmyVKINu8sztRxMdlJ5ywUr9UpL2GdaQv3SzhzC5OOcDh4a96 stmh7fZ6DBBpvvGWg/bJLNTi+nOgyEb9vFwKQMvseyoXnyRG4JyvoNJyzDpccyVt 1lWYhnlPuSFTYOI9zWfhcmWgZ5XY7g3kC3B5Ode5pawvSsHZ1ynvsxEHOK9i3J67 nAU4g1ehjw9sYwl+5g7+xuRXNoGIAr4prGAzlM7ZOG+2mwEpAqaQGkxTYZ+Sts0i I/+SIMpDfQbZmMjzkKvwBSAqJZlCZign1fEt234uhRuIfI3ucxhBAegXGFpUzQSS /qy0knRog+ouTwQN3pV1QAbcHfC8ZcBiPSzivT3KNneHaD7usz2GrD8wB8OyAbMH nzThOL6aUhLUdmCOpm9/zil4HTXcTWxSUcoWLhHEAjzlto+74I4yUJM7L5LK7Lfq LWBpBv7i2Nj/goR2w2Ip =Lfo9 -----END PGP SIGNATURE----- -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs