Index on TIMESTAMP

Поиск
Список
Период
Сортировка
От Steven Bradley
Тема Index on TIMESTAMP
Дата
Msg-id 3.0.5.32.19990707111100.00927cf0@poptop.llnl.gov
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [SQL] Good Optimization
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] Good Optimization