Re: fixing tsearch locale support - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: fixing tsearch locale support
Date
Msg-id 4bbdfe2d-f6c6-491e-90fb-4c5604321b9a@eisentraut.org
Whole thread Raw
In response to Re: fixing tsearch locale support  (Andreas Karlsson <andreas@proxel.se>)
List pgsql-hackers
On 17.12.24 16:25, Andreas Karlsson wrote:
> On 12/13/24 6:07 PM, Jeff Davis wrote:
>> OK, that's fine with me for this patch series.
>>
>> Eventually though, I think we should have built-in versions of these
>> ASCII functions. Even if there's no actual problem, it would more
>> clearly indicate that we only care about ASCII at that particular call
>> site, and eliminate questions about what libc might do on some platform
>> for some encoding/locale combination. It would also make it easier to
>> search for locale-sensitive functions in the codebase.
> 
> +1 I had exactly the same idea.

Yes, I think that could make sense.




pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Remaining dependency on setlocale()
Next
From: Tom Lane
Date:
Subject: Re: improve EXPLAIN for wide tables