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

From Peter Eisentraut
Subject Re: Remaining dependency on setlocale()
Date
Msg-id 1eef20ab-7f0e-44b7-a443-a136bea11811@eisentraut.org
Whole thread Raw
In response to Re: Remaining dependency on setlocale()  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
On 06.01.26 23:20, Jeff Davis wrote:
> 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.

committed

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

right




pgsql-hackers by date:

Previous
From: tushar
Date:
Subject: Re: Non-text mode for pg_dumpall
Next
From: tushar
Date:
Subject: Re: Non-text mode for pg_dumpall