Re: like performance w/o wildcards.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: like performance w/o wildcards.
Дата
Msg-id 22747.1060096932@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: like performance w/o wildcards.  ("scott.marlowe" <scott.marlowe@ihs.com>)
Список pgsql-general
"scott.marlowe" <scott.marlowe@ihs.com> writes:
>>> It does ... if the index-conversion optimization is enabled at all.
>>
>> Sorry, what is 'index-conversion optimization' and when is it enabled?

> I don't know what that is either.  Tom?

Sorry, I just meant the code that tries to extract indexable conditions
from a LIKE clause.  With a fixed-prefix pattern, eg "x LIKE 'foo%'",
you get a range condition like "x >= 'foo' AND x < 'fop'".  For a
completely fixed pattern this degenerates to "x = 'foo'".  The whole
thing turns off in non-C locales though.

            regards, tom lane

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

Предыдущее
От: Jean-Luc Lachance
Дата:
Сообщение: Re: Monthly table partitioning for fast purges?
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Dump Customizing