Re: [PORTS] Port Bug Report: Can't create indicies on type "timestamp"

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PORTS] Port Bug Report: Can't create indicies on type "timestamp"
Дата
Msg-id 199906291833.OAA09685@candle.pha.pa.us
обсуждение исходный текст
Ответ на Port Bug Report: Can't create indicies on type "timestamp"  (Unprivileged user <nobody>)
Список pgsql-ports
>   PostgreSQL version : 6.5
>
>   Compiler used      : gcc 2.8.1
>
> Problem Description:
> --------------------
> Whenever I try to create an index that includes a "timestamp"
> field, I get this error:
> ERROR:  Can't find a default operator class for type 1296.
>
> This prevents me from using the timestamp type altogether.
> Big bummer.  I like PostgreSQL, but I'm thinking of
> switching to Sybase's free Linux server.  Thanks for all
> the good work.
>
> --------------------------------------------------------------------------
>
>
> foo=> create table foo1 (ts timestamp);
> CREATE
> foo=> create index foo1_idx on foo1 (ts);
> ERROR:  Can't find a default operator class for type 1296.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I can confirm this as a bug.

--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Unprivileged user
Дата:
Сообщение: Port Bug Report: Can't create indicies on type "timestamp"
Следующее
От: Chris Nicholas
Дата:
Сообщение: FreeBSD version 6.5; no luck :-[