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

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Nathan Parker <nparker(at)pobox(dot)com>
Cc: pgsql-ports(at)postgreSQL(dot)org
Subject: Re: [PORTS] Port Bug Report: Can't create indicies on type "timestamp"
Date: 1999-06-29 18:33:07
Message-ID: 199906291833.OAA09685@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Chris Nicholas 1999-06-29 20:59:01 FreeBSD version 6.5; no luck :-[
Previous Message Unprivileged user 1999-06-29 18:24:26 Port Bug Report: Can't create indicies on type "timestamp"