Re: tsearch2 regression test failures

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: tsearch2 regression test failures
Дата
Msg-id 4607AA0D.907@sigaev.ru
обсуждение исходный текст
Ответ на Re: tsearch2 regression test failures  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: tsearch2 regression test failures  ("Magnus Hagander" <magnus@hagander.net>)
Список pgsql-hackers
> Yup, that solved the problem, thanks.
I'll commit extended  patch - there is one more place with the same bug.

> Wouldn't it be more efficiently written to walk the string backwards until
> !isspace instead? Not sure that it matters at all, but then you'll
> normallyi never step over more than two bytes...
It doesn't significant matter - file reads once per backend lifetime.

-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: tsearch2 regression test failures
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: tsearch2 regression test failures