Re: BUG #13440: unaccent does not remove all diacritics - Mailing list pgsql-bugs

From Teodor Sigaev
Subject Re: BUG #13440: unaccent does not remove all diacritics
Date
Msg-id 56BE0BE6.5050003@sigaev.ru
Whole thread Raw
In response to Re: BUG #13440: unaccent does not remove all diacritics  (Léonard Benedetti <benedetti@mlpo.fr>)
Responses Re: BUG #13440: unaccent does not remove all diacritics  (Bruce Momjian <bruce@momjian.us>)
Re: BUG #13440: unaccent does not remove all diacritics  (Léonard Benedetti <benedetti@mlpo.fr>)
List pgsql-bugs
>> So I changed the script to handle special cases, and I added those I
>> just mentioned (you will find attached the new version of the script
>> and the generated output for convenience).
>
> Here is the patch, attached.

I'm inclining to commit this patch becouse it suggests more regular way to
update unaccent rules. That is nice.

But I have some notices:
1 Is it possible to do not restrict generator script to Python V2? Python V2,
seems, will go away in near future, and it will not be comfortable to install V2
for a single task.
2 As it's easy to see, nowhere in sources of pgsql there is no a UTF-8 encoding,
just ASCII. I don't see reason to make an exception for this script.

Thank you.

--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

pgsql-bugs by date:

Previous
From: Michael Paquier
Date:
Subject: Re: BUG #13936: jsonb_object() -> ERROR: unknown type of jsonb container
Next
From: Seth P
Date:
Subject: Re: BUG #13908: Query returns too few rows