Re: Remaining dependency on setlocale() - Mailing list pgsql-hackers

From Jeff Davis
Subject Re: Remaining dependency on setlocale()
Date
Msg-id 5267a39d41a00d5d5b3342f10c835cc9e3e27a2c.camel@j-davis.com
Whole thread Raw
In response to Re: Remaining dependency on setlocale()  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
On Tue, 2026-01-06 at 20:54 +0100, Peter Eisentraut wrote:
> On further reflection, it seems just as easy to have dmetaphone()
> take
> the input collation and use that to do a proper collation-aware
> upper-casing.  This has the same effect (that is, it will still only
> support certain single-byte encodings), but it avoids elaborately
> hard-coding a bunch of things, and if we ever want to make this
> multibyte-aware, then we'll have to go this way anyway, I think.  See
> attached patch.

Looks good to me.

After you commit that, we still need the changes in fuzzystrmatch.c,
right?

Regards,
    Jeff Davis




pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Speed up ICU case conversion by using ucasemap_utf8To*()
Next
From: surya poondla
Date:
Subject: Re: [PATCH] psql: tab completion for ALTER ROLE ... IN DATABASE ...