Re: date is not immutable ?

Поиск
Список
Период
Сортировка
От xach@xach.com (Zachary Beane)
Тема Re: date is not immutable ?
Дата
Msg-id slrnb6sdcb.25l.xach@localhost.localdomain
обсуждение исходный текст
Ответ на date is not immutable ?  ("Gaetano Mendola" <mendola@bigfoot.com>)
Список pgsql-admin
In article <b4labj$15lq$1@news.hub.org>, Gaetano Mendola wrote:
> Hi all,
> I'm trying to create an index on a timestamptz field just extracting the
> date:
>
> # create index idx_user_logs_login_time_date on user_logs (
> date(login_time) );
> ERROR:  DefineIndex: index function must be marked IMMUTABLE
>
>
> why date is not marked immutable ?

It is influenced by the local time zone.

Zach

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

Предыдущее
От: gborges@radiumsystems.com.br
Дата:
Сообщение: Re: Miss of global directory
Следующее
От: Christopher Browne
Дата:
Сообщение: Re: Largest filesize under Linux