Re: Extra Vietnamese unaccent rules

From: Dang Minh Huong <kakalot49(at)gmail(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Cc: Kha Nguyen <nlhkha(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Extra Vietnamese unaccent rules
Date: 2017-06-06 15:10:25
Message-ID: D2365D94-1EB5-49D2-93DB-FACA37D4B9D3@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On Jun 4, 29 Heisei, at 00:48, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
>
> On Sun, Jun 4, 2017 at 12:43:17AM +0900, Dang Minh Huong wrote:
>>
>>> On May 30, 29 Heisei, at 00:22, Dang Minh Huong <kakalot49(at)gmail(dot)com> wrote:
>>>
>>>
>>>
>>>> On May 29, 29 Heisei, at 10:47, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com <mailto:thomas(dot)munro(at)enterprisedb(dot)com>> wrote:
>>>>
>>>> On Sun, May 28, 2017 at 7:55 PM, Dang Minh Huong <kakalot49(at)gmail(dot)com <mailto:kakalot49(at)gmail(dot)com>> wrote:
>>>>> Thanks for reporting and lecture about unicode.
>>>>> I attached a patch as the instruction from Thomas. Could you confirm it.
>>>>
>>>> - is_plain_letter(table[codepoint.combining_ids[0]]) and \
>>>> + (is_plain_letter(table[codepoint.combining_ids[0]]) or\
>>>> + len(table[codepoint.combining_ids[0]].combining_ids) > 1) and \
>>>>
>>>> Shouldn't you use "or is_letter_with_marks()", instead of "or len(...)
>>>>> 1"? Your test might catch something that isn't based on a 'letter'
>>>> (according to is_plain_letter). Otherwise this looks pretty good to
>>>> me. Please add it to the next commitfest.
>>>
>>> Thanks for confirm, sir.
>>> I will add it to the next CF soon.
>>
>> Sorry for lately response. I attach the update patch.
>
> Uh, there is no patch attached.
>

Sorry sir, reattach the patch.
I also added it to the next CF and set reviewers to Thomas Munro. Could you confirm for me.

---
Thanks and best regards,
Dang Minh Huong

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-06-06 15:19:47 Re: sketchy partcollation handling
Previous Message Peter Eisentraut 2017-06-06 14:46:05 Re: question about replication docs