Re: What type of index do I need for this JOIN?

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: What type of index do I need for this JOIN?
Дата
Msg-id 520B465C.4040100@hogranch.com
обсуждение исходный текст
Ответ на Re: What type of index do I need for this JOIN?  (Robert James <srobertjames@gmail.com>)
Список pgsql-general
On 8/13/2013 8:34 PM, Robert James wrote:
> I'm confused: What's the difference between
>    col LIKE  'foo%'
> and
>    col LIKE f1 || '%'
> ?
> Either way, it's anchored to the beginning of the string.

the first one can be analyzed by the planner, the latter would be much
harder to pre-figure.



--
john r pierce                                      37N 122W
somewhere on the middle of the left coast



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

Предыдущее
От: raghu ram
Дата:
Сообщение: Re: Need some basic information
Следующее
От: Tim Kane
Дата:
Сообщение: WHERE 'Something%' LIKE ANY (array_field)