Re: Avoid huge perfomance loss on string concatenation

Поиск
Список
Период
Сортировка
От Andrus
Тема Re: Avoid huge perfomance loss on string concatenation
Дата
Msg-id fj628c$2vr0$1@news.hub.org
обсуждение исходный текст
Ответ на Avoid huge perfomance loss on string concatenation  ("Andrus" <kobruleht2@hot.ee>)
Список pgsql-general
> just small correction here...expressions like that in the create index
> need an extra set of parens (but I agree with your sentiment):
> CREATE INDEX dokindex ON dok ((kuupaeve||kellaaeg))

I tried

CREATE INDEX dok_kuupaev_kellaaeg_idx ON dok ((kuupaev||kellaaeg));

but got error

ERROR: functions in index expression must be marked IMMUTABLE
SQL state: 42P17

How to create such index ?

Andrus.



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

Предыдущее
От: "Wim Chalmet"
Дата:
Сообщение: Re: Vacuum output redirect
Следующее
От: "Andrus"
Дата:
Сообщение: Re: Avoid huge perfomance loss on string concatenation