Re: v7.4.1 text_position() patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: v7.4.1 text_position() patch
Дата
Msg-id 13708.1075476712@sss.pgh.pa.us
обсуждение исходный текст
Ответ на v7.4.1 text_position() patch  ("Korea PostgreSQL Users' Group" <pgsql-kr@postgresql.or.kr>)
Список pgsql-patches
"Korea PostgreSQL Users' Group" <pgsql-kr@postgresql.or.kr> writes:
> In src/backend/utils/adt/varlena.c,
> 766 line must be exits in block of 'else if (elm >1)' too.
> Because, strpos() function make a wrong result in multibyte string.

Hm.  I don't think it can actually fail, because the wchar strings are
zero-terminated.  But it does look like there's a missed speedup here.
(Tatsuo, do you agree?)

Thanks for the report!

            regards, tom lane

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

Предыдущее
От: "Korea PostgreSQL Users' Group"
Дата:
Сообщение: v7.4.1 text_position() patch
Следующее
От: "Korea PostgreSQL Users' Group"
Дата:
Сообщение: Re: v7.4.1 text_position() patch