From: Esteban Chiner Sanz <echiner@tissat.es>
To: pgsql-sql@postgresql.org
Subject: Primary key on NUMERIC type
Date: Tue, 14 Sep 1999 19:14:22 +0200
Message-ID: <37DE826E.A622B22@tissat.es> (raw)
Isn't it possible to put a PRIMARY KEY on a NUMERIC type?
Here is what I do:
CREATE TABLE MNT_TEXTOS(
TEX_CODIGO NUMERIC(5) NOT NULL,
CONSTRAINT C_TEX PRIMARY KEY (TEX_CODIGO));
And I get this error message:
ERROR: Can't find a default operator class for type 1700.
What could be the problem?
Thanks in advance,
Esteban Chiner
------------------------------------------------------------
Esteban Chiner Sanz mailto (work): echiner@tissat.es
TISSAT
Av. Aragon, 30, 5ยช planta Phone: 96 393 9950
Valencia (SPAIN)
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-sql@postgresql.org
Cc: echiner@tissat.es
Subject: Re: Primary key on NUMERIC type
In-Reply-To: <37DE826E.A622B22@tissat.es>
References: <37DE826E.A622B22@tissat.es>
* 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