no primary key on self designed type

Поиск
Список
Период
Сортировка
От Thomas Drillich
Тема no primary key on self designed type
Дата
Msg-id 384D3C92.D0FA629D@uniserve.de
обсуждение исходный текст
Ответы Re: [GENERAL] no primary key on self designed type
Список 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 по дате отправления:

Предыдущее
От: jose soares
Дата:
Сообщение: Re: [SQL] Fw: Whats happen here?
Следующее
От: Sascha Ziemann
Дата:
Сообщение: Where is IFNULL?