Re: tsearch is non-multibyte-aware in a few places

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: tsearch is non-multibyte-aware in a few places
Дата
Msg-id 18302.1213896216@sss.pgh.pa.us
обсуждение исходный текст
Ответ на tsearch is non-multibyte-aware in a few places  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I wrote:
> This is safe if and only if t_isspace is never true for multibyte
> characters ... can anyone think of a counterexample?

Non-breaking space is a counterexample, so I pg_mblen-ified those
loops too.  Fortunately this code only executes during dictionary
cache load, so a few extra cycles aren't too critical.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: tsearch is non-multibyte-aware in a few places
Следующее
От: Tom Raney
Дата:
Сообщение: Re: Plan targetlists in EXPLAIN output