Re: [PORTS] Port Bug Report: Can't create indicies on type "timestamp" - Mailing list pgsql-ports

From Bruce Momjian
Subject Re: [PORTS] Port Bug Report: Can't create indicies on type "timestamp"
Date
Msg-id 199906291833.OAA09685@candle.pha.pa.us
Whole thread Raw
In response to Port Bug Report: Can't create indicies on type "timestamp"  (Unprivileged user <nobody>)
List 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 by date:

Previous
From: Unprivileged user
Date:
Subject: Port Bug Report: Can't create indicies on type "timestamp"
Next
From: Chris Nicholas
Date:
Subject: FreeBSD version 6.5; no luck :-[