Re: TEXT column and indexing

Поиск
Список
Период
Сортировка
От Ian Barwick
Тема Re: TEXT column and indexing
Дата
Msg-id 200311192013.42574.barwick@gmx.net
обсуждение исходный текст
Ответ на Re: TEXT column and indexing  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-performance
On Wednesday 19 November 2003 17:35, Stephan Szabo wrote:
> On Wed, 19 Nov 2003, Ian Barwick wrote:
> > I have this table:
(...)
>
> You probably need to be querying like:
> WHERE substr(value,1,128)='foo';
> in order to use that index.
>
> While substr(txtcol, 1,128) happens to have the property that it would be
> probably be useful in a search against a short constant string, that's an
> internal property of that function.

That's the one :-). Thanks!

Ian Barwick
barwick@gmx.net


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: duration logging setting in 7.4
Следующее
От: Ian Barwick
Дата:
Сообщение: Re: TEXT column and indexing