Re: [HACKERS] strcmp() tie-breaker for identical ICU-collated strings - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [HACKERS] strcmp() tie-breaker for identical ICU-collated strings
Date
Msg-id CA+TgmoY-==Lk+L5scbd4rFy308u8ZWYnXaBARNPSa=x4M1=sbQ@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] strcmp() tie-breaker for identical ICU-collated strings  (Peter Geoghegan <pg@bowt.ie>)
Responses Re: [HACKERS] strcmp() tie-breaker for identical ICU-collated strings  (Peter Geoghegan <pg@bowt.ie>)
List pgsql-hackers
On Fri, Jun 9, 2017 at 12:18 PM, Peter Geoghegan <pg@bowt.ie> wrote:
> On Fri, Jun 9, 2017 at 9:17 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>> I'm not exactly sure what is possible or
>> desirable, but I would not be too surprised to hear complaints about
>> the observed behavior different from the "pure" ICU behavior because
>> of the tiebreak, and at least some users might even find it worth
>> giving up hashing in order to get the exact sort order they need.
>
> But they are getting the sort order they need. They just don't get the
> equality semantics they expect.

You're right.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] partial aggregation with internal state type
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] strcmp() tie-breaker for identical ICU-collated strings