no primary key on self designed type - Mailing list pgsql-general

From Thomas Drillich
Subject no primary key on self designed type
Date
Msg-id 384D3C92.D0FA629D@uniserve.de
Whole thread Raw
Responses Re: [GENERAL] no primary key on self designed type
List 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@uniserve.de>
    ___|__|
   (___,   )           uniserve Internet & Multimedia GmbH
   (___,   )\          Sophienweg 3
   (___,   ) \         Technologiezentrum (MIT)
    (___,_,)/ \        D-59872 Meschede Germany
        \              fon: +49 291 59100 , fax: +49 291 59102

pgsql-general by date:

Previous
From: jose soares
Date:
Subject: Re: [SQL] Fw: Whats happen here?
Next
From: Sascha Ziemann
Date:
Subject: Where is IFNULL?