ERROR: functions in index expression must be marked IMMUTABLE

Поиск
Список
Период
Сортировка
От naveen kumar
Тема ERROR: functions in index expression must be marked IMMUTABLE
Дата
Msg-id CADye41Ko=g50J4P2mKYCXqDZm4YN5aDESntJmy+YRBDOfgcmUA@mail.gmail.com
обсуждение исходный текст
Ответы Re: ERROR: functions in index expression must be marked IMMUTABLE  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-admin
Hello Experts..

postgres=# create index idx_calls_call_datetime on calls using btree ((call_datetime::date));
ERROR:  functions in index expression must be marked IMMUTABLE

bit confused with above error, can any one please help me on this, and if possible let me explain when this error occurs and what it does. Thanks in advance.

 

Thanks & Regards,
M Naveen Kuamr,
PostgreSQL Database Administrator, 
Mobile Number: +91 7755929449. 

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

Предыдущее
От: Vladimir Borodin
Дата:
Сообщение: Hanging startup process on the replica after vacuuming on master
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: ERROR: functions in index expression must be marked IMMUTABLE