Re: type cast in index

Поиск
Список
Период
Сортировка
От Chris Spotts
Тема Re: type cast in index
Дата
Msg-id 385F328C7E2545DB97B940255BED6373@tcore.com
обсуждение исходный текст
Ответ на type cast in index  (Linos <info@linos.es>)
Ответы Re: type cast in index  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: type cast in index  (Linos <info@linos.es>)
Список pgsql-general
>CREATE INDEX fecha_creacion_ordtrab ON orden_trabajo_cabecera USING btree
>((time_stamp_creacion::date));
>
>but in my postgresql 8.3 version i get this error:
>
>ERROR:  functions in index expression must be marked IMMUTABLE

        If your time_stamp_creacion is a timestamp with time zone I
believe that the cast is not immutable.


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

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: Can postgresql store its data on raw device now?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: type cast in index