Re: Error during creation of indexes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Florian Steffen <fsteffen(at)urbanet(dot)ch>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error during creation of indexes
Date: 2000-11-21 06:24:03
Message-ID: 636.974787843@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Florian Steffen <fsteffen(at)urbanet(dot)ch> writes:
> CREATE TABLE events (name NAME, description TEXT, date TINTERVAL);
> CREATE INDEX events_date_idx ON events (date);
> ERROR: DefineIndex: type tinterval has no default operator class

> What does that mean ?

It means there's no support for indexes on tinterval.

tinterval is an obsolete, deprecated datatype; try interval instead.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-11-21 06:44:08 Re: Transaction, Rollback and Database Corruption question,
Previous Message Neil Conway 2000-11-21 05:37:01 Re: blobs and the toast project ?