Re: create index with substr function

Поиск
Список
Период
Сортировка
От Rosser Schwarz
Тема Re: create index with substr function
Дата
Msg-id 37d451f704102020346fdbb855@mail.gmail.com
обсуждение исходный текст
Ответ на create index with substr function  ("Ray" <ray_siu@ge-ts.com.hk>)
Список pgsql-performance
while you weren't looking, Ray wrote:

> CREATE INDEX idx_doc_substr_doc_urn ON doc USING btree (SUBSTR(doc_urn,10));

CREATE INDEX idx_doc_substr_doc_urn ON doc USING btree ((SUBSTR(doc_urn,10)));

You need an additional set of parens around the SUBSTR() call.

/rls

--
:wq

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: create index with substr function
Следующее
От: "Ray"
Дата:
Сообщение: Re: create index with substr function