Scott Cain <cain@cshl.org> writes:
>> (BTW, if you are using a multibyte database encoding, then that's your
>> problem right there --- the optimization is practically useless unless
>> character and byte indexes are the same.)
> I shouldn't be, but since it is an RPM, I can't be sure.
Look at "psql -l" to see what encoding it reports for your database.
regards, tom lane