Index on TIMESTAMP

Lists: pgsql-interfacesPostg토토 캔SQL : Postg토토 캔SQL 메일 링리스트 : 1999-07-07 이후 PGSQL-SQL 18:11
From: Steven Bradley <sbradley(at)llnl(dot)gov>
To: pgsql-sql(at)postgresql(dot)org, pgsql-interfaces(at)postgresql(dot)org
Subject: Index on TIMESTAMP
Date: 1999-07-07 18:11:00
Message-ID: 3.0.5.32.19990707111100.00927cf0@poptop.llnl.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-interfaces Postg토토 캔SQL : Postg토토 캔SQL 메일 링리스트 : 1999-07-07 이후 PGSQL-SQL 18:11

Is there really no way to create an index on a TIMESTAMP column???? When I
try to create the index, I get the following message:

ERROR: Can't find a default operator class for type 1296.

I noticed that this problem was already posted quite some time ago, and the
only response was to use DATETIME instead. Unfortunately, we can't use
DATETIME since there is no JDBC method to accessing a DATETIME column. It
was previously suggested that the ResultSet.getTimestamp() method would
retrieve DATETIME fields, but it doesn't. Perhaps the
ResultSet.getTimestamp() method is even more broken than previously thought?

Any suggestions?

Steven Bradley
Lawrence Livermore National Laboratory
PO Box 808
Livermore, California 94550
(925) 423-2101 sbradley(at)llnl(dot)gov