Re: Bug or Feature?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug or Feature?
Дата
Msg-id 3884.1015254493@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug or Feature?  (Olivier PRENANT <ohp@pyrenet.fr>)
Ответы Re: Bug or Feature?  (Olivier PRENANT <ohp@pyrenet.fr>)
Re: Bug or Feature?  (Olivier PRENANT <ohp@pyrenet.fr>)
Список pgsql-hackers
Olivier PRENANT <ohp@pyrenet.fr> writes:
> CREATE INDEX deb ON xxxx USING btree (date(timestamp coll) date_ops);
> on 7.2 I have an error message saying that functrional indexes must but
> made ISCACHABLE.

See previous discussion of this identical problem.  The fact is that
such an index is dangerous, because it depends on the timezone setting.

You might want to make the underlying column be timestamp without time
zone.
        regards, tom lane


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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: PocketSQL
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: single task postgresql