no primary key on self designed type

From: Thomas Drillich <drillich(at)uniserve(dot)de>
To: pgsql-general(at)postgreSQL(dot)org
Subject: no primary key on self designed type
Date: 1999-12-07 16:57:54
Message-ID: 384D3C92.D0FA629D@uniserve.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

create type inrecord (
internallength=VARIABLE,
input=inr_in,
output=inr_out
);

create table test (
data inrecord not null primary key
);
... result ...
ERROR: Can't find a default operator class for type 268128.

how can I define the default operator class ??
--
mit freundlichem Gruss -- regards
,-,
| | Thomas Drillich <drillich(at)uniserve(dot)de>
___|__|
(___, ) uniserve Internet & Multimedia GmbH
(___, )\ Sophienweg 3
(___, ) \ Technologiezentrum (MIT)
(___,_,)/ \ D-59872 Meschede Germany
\ fon: +49 291 59100 , fax: +49 291 59102

Browse pgsql-general by date

  From Date Subject
Next Message Sascha Ziemann 1999-12-07 17:14:36 Where is IFNULL?
Previous Message jose soares 1999-12-07 14:44:12 Re: [SQL] Fw: Whats happen here?