Index on TIMESTAMP - Mailing list pgsql-sql

From Steven Bradley
Subject Index on TIMESTAMP
Date
Msg-id 3.0.5.32.19990707111100.00927cf0@poptop.llnl.gov
Whole thread Raw
List pgsql-sql
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@llnl.gov


pgsql-sql by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [SQL] Good Optimization
Next
From: Tom Lane
Date:
Subject: Re: [SQL] Good Optimization