Re: How to get around LIKE inefficiencies?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to get around LIKE inefficiencies?
Дата
Msg-id 1837.973479543@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to get around LIKE inefficiencies?  (Philip Warner <pjw@rhyme.com.au>)
Ответы Re: How to get around LIKE inefficiencies?  (Philip Warner <pjw@rhyme.com.au>)
Re: How to get around LIKE inefficiencies?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Philip Warner <pjw@rhyme.com.au> writes:
> Could you trick it into not using the index (AND using the other strategy?)
> by using a calculation:

>    AND ( (url.url || ' ') LIKE 'http://www.postgresql.org/% ');

> it's a bit nasty.

Looks like a great kluge to me ;-)
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: How to get around LIKE inefficiencies?
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: How to get around LIKE inefficiencies?