Re: UTF8MatchText

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: UTF8MatchText
Дата
Msg-id 464DC9B5.8050803@dunslane.net
обсуждение исходный текст
Ответ на Re: UTF8MatchText  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches

Tom Lane wrote:
> ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
>
>> Yes, I only used the 'disjoint representations for first-bytes and
>> not-first-bytes of MB characters' feature in UTF8. Other encodings
>> allows both [AB] and [BA] for MB character patterns. UTF8Match() does
>> not cope with those encodings; If we have '[AB][AB]' in a table and
>> search it with LIKE '%[BA]%', we judge that they are matched by mistake.
>>
>
> AFAICS, the patch does *not* make that mistake because % will not
> advance over a fractional character.
>
>
>

Unless I hear differently, my present intention is to apply the
suggested improvement universally. I'll wait a day or two before
completing the patch.

cheers

andrew

В списке pgsql-patches по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Maintaining cluster order on insert
Следующее
От: Zoltan Boszormenyi
Дата:
Сообщение: Standard compliant DEFAULT clause