Received: from jerimum.crn.inpe.br (root@jerimum.crn.inpe.br [150.163.40.1]) by hub.org (8.8.8/8.7.5) with ESMTP id QAA01462 for ; Fri, 15 May 1998 16:02:09 -0400 (EDT) Received: from ruios ([150.163.40.36]) by jerimum.crn.inpe.br (8.8.3/8.8.3) with SMTP id QAA08723 for ; Fri, 15 May 1998 16:59:44 -0300 Message-Id: <3.0.5.32.19980515170735.0092e490@jerimum.crn.inpe.br> X-Sender: romualdo@jerimum.crn.inpe.br X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Fri, 15 May 1998 17:07:35 +0100 To: pgsql-sql@postgresql.org From: Romualdo Alves Subject: Indexing Timestamp Data Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" How to index a timestamp data in a Postgres table? For example, I tried: CREATE UNIQUE INDEX idx ON table_01 (xtime); The resulting message was: "CAN'T FIND A DEFAULT OPERATOR CLASS FOR TYPE 1296". The table 'table_01' was created with the following command: CREATE TABLE table_01 ( xtime TIMESTAMP, code CHAR(5), qty INTEGER); The key of this table must be the 'xtime' field which is of TIMESTAMP data type. How to do it? Romualdo. ------------------------------------------------------------ My ICQ# 10480879 My Home Page: http://wwp.mirabilis.com/10480879 My E-mail Express: 10480879@pager.mirabilis.com INPE Telephone Number: (084) 231-4733 Ext. 214 "For we are labourers together with God" (1 Corinthians 3:9) "De Deus somos cooperadores" (1 Corintios 3:9) ------------------------------------------------------------