Re: strcmp() tie-breaker for identical ICU-collated strings

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Peter Geoghegan <pg(at)bowt(dot)ie>, Amit Khandekar <amitdkhan(dot)pg(at)gmail(dot)com>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: strcmp() tie-breaker for identical ICU-collated strings
Date: 2017-06-09 15:29:11
Message-ID: cbfa0371-bb5d-f090-a235-f51c40cb7227@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 6/9/17 11:12, Tom Lane wrote:
> Robert Haas <robertmhaas(at)gmail(dot)com> writes:
>> I have to admit that I'm still a little confused about what's actually
>> going on here. Commit says that it "fixes inconsistent behavior under
>> glibc's hu_HU locale", but it doesn't say what sort of inconsistent
>> behavior it fixes.
>
> Unfortunately we were not good back then about linking commits to
> list discussions, but a bit of excavation in the archives found this:
>
> https://www.postgresql.org/message-id/27064.1134753128@sss.pgh.pa.us

Good to know. That just says that if we were to go with the strcoll()
result only, things would work correctly.

Again, some other details to work out.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2017-06-09 15:40:49 Re: Fix comment in shm_mq.c
Previous Message Peter Eisentraut 2017-06-09 15:25:49 Re: Something is rotten in publication drop