From: | Enrico Scholz <Enrico(dot)Scholz(at)informatik(dot)tu-chemnitz(dot)de> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Missing default-operator-class at a "TIMESTAMP UNIQUE" column |
Date: | 1999-11-03 14:21:28 |
Message-ID: | m3ln8fu047.fsf@kosh.ultra.csn.tu-chemnitz.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
System Configuration
---------------------
Architecture (example: Intel Pentium) : i686
Operating System (example: Linux 2.0.26 ELF) : linux 2.2.13 ELF
PostgreSQL version (example: PostgreSQL-6.5.2): PostgreSQL-6.5.2
Compiler used (example: gcc 2.8.0) : egcs-2.91.66 19990314/Linux
Please enter a FULL description of your problem:
------------------------------------------------
Creating a column of type TIMESTAMP being constrained to be UNIQUE
results in the error
"ERROR: Can't find a default operator class for type 1296."
Other date/time-types will be accepted.
Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
test=> CREATE TABLE foo ( bar TIMESTAMP UNIQUE );
NOTICE: CREATE TABLE/UNIQUE will create implicit index 'foo_bar_key' for table 'foo'
ERROR: Can't find a default operator class for type 1296.
From | Date | Subject | |
---|---|---|---|
Next Message | Jim Studt | 1999-11-04 16:17:21 | libpq can cause segfaults if unloaded |
Previous Message | Gurudas Salgaonkar | 1999-11-03 11:27:52 |