pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Georg Kahest <georg.kahest@internet.ee>
To: Thomas Munro <thomas.munro@enterprisedb.com>
To: Peter Geoghegan <pg@heroku.com>
Cc: PostgreSQL Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14112: sorting v and w is broken with et_EE locate
Date: Thu, 28 Apr 2016 13:11:31 +0300
Message-ID: <5721E1D3.5010706@internet.ee> (raw)
In-Reply-To: <CAEepm=1-27wi-F99seXFexbj19XtnxxJNm-C3ouizATCAUQtow@mail.gmail.com>
References: <20160425143739.2710.49809@wrigleys.postgresql.org>
	<CAEepm=37HtY+jwoXxQ07kXX2Kwk3WmMbW9Y=nXda00qq=MmENQ@mail.gmail.com>
	<CAM3SWZSNEhbtysbSdqzctAiwsuNeexBPDr83FbB0GDHQXNZRRg@mail.gmail.com>
	<CAM3SWZRZ0KFLVMkNEUckm+Ctkuztji9tZUGm+p2eSDj1T9b==Q@mail.gmail.com>
	<CAEepm=0RDNNKB=p3x1YgcU=jpfAEHDh3zJh=_mir-Q8qe_uPKQ@mail.gmail.com>
	<CAEepm=1-27wi-F99seXFexbj19XtnxxJNm-C3ouizATCAUQtow@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

-----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 
> <thomas.munro@enterprisedb.com> wrote:
>> On Thu, Apr 28, 2016 at 4:24 PM, Peter Geoghegan <pg@heroku.com>
>> wrote:
>>> On Wed, Apr 27, 2016 at 9:22 PM, Peter Geoghegan
>>> <pg@heroku.com> wrote:
>>>> On Wed, Apr 27, 2016 at 9:07 PM, Thomas Munro 
>>>> <thomas.munro@enterprisedb.com> 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



view thread (9+ messages)

Message-ID: <5721E1D3.5010706@internet.ee>
Permalink:  ../5721E1D3.5010706@internet.ee/
Also on:    postgresql.org/message-id/5721E1D3.5010706@internet.ee

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: georg.kahest@internet.ee, thomas.munro@enterprisedb.com, pg@heroku.com
  Subject: Re: BUG #14112: sorting v and w is broken with et_EE locate
  In-Reply-To: <5721E1D3.5010706@internet.ee>
  References: <20160425143739.2710.49809@wrigleys.postgresql.org> <CAEepm=37HtY+jwoXxQ07kXX2Kwk3WmMbW9Y=nXda00qq=MmENQ@mail.gmail.com> <CAM3SWZSNEhbtysbSdqzctAiwsuNeexBPDr83FbB0GDHQXNZRRg@mail.gmail.com> <CAM3SWZRZ0KFLVMkNEUckm+Ctkuztji9tZUGm+p2eSDj1T9b==Q@mail.gmail.com> <CAEepm=0RDNNKB=p3x1YgcU=jpfAEHDh3zJh=_mir-Q8qe_uPKQ@mail.gmail.com> <CAEepm=1-27wi-F99seXFexbj19XtnxxJNm-C3ouizATCAUQtow@mail.gmail.com> <5721E1D3.5010706@internet.ee>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox