pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steven Bradley <sbradley@llnl.gov>
To: pgsql-sql@postgresql.org
To: pgsql-interfaces@postgresql.org
Subject: Index on TIMESTAMP
Date: Wed, 07 Jul 1999 11:11:00 -0700
Message-ID: <3.0.5.32.19990707111100.00927cf0@poptop.llnl.gov> (raw)

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



Message-ID: <3.0.5.32.19990707111100.00927cf0@poptop.llnl.gov>
Permalink:  ../3.0.5.32.19990707111100.00927cf0@poptop.llnl.gov/
Also on:    postgresql.org/message-id/3.0.5.32.19990707111100.00927cf0@poptop.llnl.gov

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: sbradley@llnl.gov, pgsql-interfaces@postgresql.org
  Subject: Re: Index on TIMESTAMP
  In-Reply-To: <3.0.5.32.19990707111100.00927cf0@poptop.llnl.gov>
  References: <3.0.5.32.19990707111100.00927cf0@poptop.llnl.gov>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox