From: Mark Hortman <mark@swapstuff.com>
To: pgsql-admin@postgresql.org
Subject: Error in creating Primary Key
Date: Sun, 30 Jan 2000 10:25:56 -0600
Message-ID: <38946614.38E60DF8@swapstuff.com> (raw)
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....
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: mark@swapstuff.com
Subject: Re: Error in creating Primary Key
In-Reply-To: <38946614.38E60DF8@swapstuff.com>
References: <38946614.38E60DF8@swapstuff.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox