On Fri, Jun 9, 2017 at 1:45 PM, Peter Eisentraut
> On 6/9/17 12:17, Robert Haas wrote:
>> IOW, suppose there
>> were a collation API call distill() which had the property that
>> strcmp(distill(X), distill(Y)) == 0 iff X and Y are considered equal
>> under that collation. Then, you could define your hash function as
>> hash_any(distill(X)). Alternatively, if the collation library
>> provided its own hashing function, that would be fine too, and
>> probably faster.
> Isn't that what strxfrm() is?
Yeah, just with bugs. If ICU has a non-buggy equivalent, then we can
make this work.
The Enterprise PostgreSQL Company
Sent via pgsql-hackers mailing list (email@example.com)
To make changes to your subscription: