Index creation question for expression (col1 || '-' || col2)

Поиск
Список
Период
Сортировка
Greetings,

A question about creating index for the following expression.

CREATE INDEX idx_t1 ON test (col1 || '-' || col2);

May I know is it possible and how I may create index for the expression 
such as "col1 || '-' || col2" for a table please?

Thanks a lot,
Emi




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

Предыдущее
От: PFC
Дата:
Сообщение: Re: Make COUNT(*) Faster?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Make COUNT(*) Faster?