Re: BUG #13440: unaccent does not remove all diacritics

From: Teodor Sigaev <teodor(at)sigaev(dot)ru>
To: Léonard Benedetti <benedetti(at)mlpo(dot)fr>, PostgreSQL Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13440: unaccent does not remove all diacritics
Date: 2016-02-12 16:44:22
Message-ID: 56BE0BE6.5050003@sigaev.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sigaev(dot)ru
WWW: http://www.sigaev.ru/

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2016-02-12 17:37:35 Re: Re: BUG #13685: Archiving while idle every archive_timeout with wal_level hot_standby
Previous Message Michael Paquier 2016-02-12 13:27:10 Re: Re: BUG #13685: Archiving while idle every archive_timeout with wal_level hot_standby