Re: Unicode combining characters

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB SD
Тема Re: Unicode combining characters
Дата
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA41EB3A4@m0114.s-mxs.net
обсуждение исходный текст
Ответ на Unicode combining characters  (Patrice Hédé <phede-ml@islande.org>)
Ответы Re: Unicode combining characters
Список pgsql-hackers
> ------------- shell script -------------------
> for i in 32 64 128 256 512 1024 2048 4096 8192
> do
> psql -c "explain analyze select liketest(a,'aaa') from 
> (select substring('very_long_text' from 0 for $i) as a) as a" test
> done
> ------------- shell script -------------------

I don't think your search string is sufficient for a test. 
With 'aaa' it actually knows that it only needs to look at the 
first three characters of a. Imho you need to try something 
like liketest(a,'%aaa%').

Andreas 


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