Re: LIke and Indicies

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LIke and Indicies
Дата
Msg-id 6387.1109353115@sss.pgh.pa.us
обсуждение исходный текст
Ответ на LIke and Indicies  (Dave Smith <dave.smith@candata.com>)
Список pgsql-general
Dave Smith <dave.smith@candata.com> writes:
> I am using 7.4.5 and trying to use the like clause (Local C) but
> postgres does not seem to want to use the index.

You *sure* you're using C locale?  Try "show lc_collate".

If you're not, and don't want to re-initdb, you can make an index using
the text_pattern_ops operator class to support LIKE.  See the manual or
recent discussions in pgsql-performance.

            regards, tom lane

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

Предыдущее
От: Charl Gerber
Дата:
Сообщение: Install scripts?
Следующее
От: Andreas 'ads' Scherbaum
Дата:
Сообщение: Re: Tracing of tables deleting - how?