Re: Unicode combining characters - Mailing list pgsql-hackers

From Zeugswetter Andreas SB SD
Subject Re: Unicode combining characters
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA41EB3A4@m0114.s-mxs.net
Whole thread Raw
In response to Unicode combining characters  (Patrice Hédé <phede-ml@islande.org>)
Responses Re: Unicode combining characters
List 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 by date:

Previous
From: "Zeugswetter Andreas SB SD"
Date:
Subject: Re: RFD: access to remore databases: altername suggestion
Next
From: Teodor Sigaev
Date:
Subject: Re: btree_gist regression test busted?