Error in creating Primary Key - Mailing list pgsql-admin

From Mark Hortman
Subject Error in creating Primary Key
Date
Msg-id 38946614.38E60DF8@swapstuff.com
Whole thread Raw
List pgsql-admin
Right out of the manual I am using the command...
CREATE TABLE distributors (
     did      DECIMAL(03) PRIMARY KEY DEFAULT NEXTVAL('serial'),
     name     VARCHAR(40) NOT NULL CHECK (name <> '')
);

Whenever I try to use a primary key, I get a message
notice: Create table/primary key will create implicit index
'distributors_pkey' for table distributors
and Worse...

ERROR: Can't find a default operator class for type 1700.

Any help would be appreciated....


pgsql-admin by date:

Previous
From: "Laurent CASTELLANI"
Date:
Subject: Info
Next
From: Peter Vazsonyi
Date:
Subject: Re: [ADMIN] Attribute 'aggtransfn1' is repeated