Re: Stopgap solution for ILIKE in multibyte encodings

Поиск
Список
Период
Сортировка
От Guillaume Smet
Тема Re: Stopgap solution for ILIKE in multibyte encodings
Дата
Msg-id 1d4e0c10609041041o7a93e6dfx848dc1e1a91cb69a@mail.gmail.com
обсуждение исходный текст
Ответ на Stopgap solution for ILIKE in multibyte encodings  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Stopgap solution for ILIKE in multibyte encodings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom,

On 9/4/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I propose that for ILIKE in multibyte encodings, we just pass the strings
> through lower() and then use the normal LIKE code.  This will be a bit
> slower than what we do now, but as a wise man once said, code can be
> arbitrarily fast if it needn't give the right answer.  And we can't just
> ignore the bug for still another release cycle.

Perhaps it's a stupid question but what about the indexes? An index on
lower(field) will be used by the new code or we wiil keep the current
behaviour of ILIKE?

Regards,

--
Guillaume


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] Contrib module to examine client
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [COMMITTERS] pgsql: sslinfo contrib module - information about current SSL