Re: how can i mark date function like iscachable

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: how can i mark date function like iscachable
Дата
Msg-id 13164.1249331753@sss.pgh.pa.us
обсуждение исходный текст
Ответ на how can i mark date function like iscachable  (erobles <erobles@sensacd.com.mx>)
Список pgsql-general
erobles <erobles@sensacd.com.mx> writes:
>> i tried to  create an functional index  like this:
>> create index estdistfecha on estadist (date(fecha));

>> but only get the  next message:
>> ERROR: DefineIndex: index function must be marked iscachable.

Egad, what are you running?  That message hasn't been spelled that way
since PG 7.2.  Get yourself onto a more modern PG release, before that
one eats your data.

            regards, tom lane

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