Re: I can not create Index on a feild by type 'timestmp'!

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: I can not create Index on a feild by type 'timestmp'!
Дата
Msg-id 29411.988217098@sss.pgh.pa.us
обсуждение исходный текст
Ответ на I can not create Index on a feild by type 'timestmp'!  (Hasan Mokhtari Sangchi <mokhtari@hadid.sharif.ac.ir>)
Список pgsql-general
Hasan Mokhtari Sangchi <mokhtari@hadid.sharif.ac.ir> writes:
> If I want to create an index on a field by type 'timestamp'
> postgres give me following error message :
>     ' can not find a default operator class for type 1296.'
> what can I do ?

Upgrade to a more recent version of Postgres.

Or, change the field to be type datetime, which is the better-supported
datatype in old versions...

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Newbie struggling to set $PGDATA
Следующее
От: Matthew Hixson
Дата:
Сообщение: Re: