int8 & primary key error

From: "Mike Erickson" <mikeisnot(at)home(dot)com>
To: pgsql-bugs(at)postgresql(dot)org(dot)pgsql-questions(at)postgreSQL(dot)org
Subject: int8 & primary key error
Date: 1999-04-18 22:25:21
Message-ID: lZsS2.4385$1q5.4845@news.rdc1.bc.wave.home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

I received the following error:

pos=> CREATE TABLE item (upc INT8 CONSTRAINT pk_upc PRIMARY KEY);
NOTICE: CREATE TABLE/PRIMARY KEY will create implicit index pk_upc for
table it
em
ERROR: Can't find a default operator class for type 20.

anyone know what it means? I need to use an int8 field as the primary key in
a database I'm building but it won't let me... I have succesfully created
other tables so I know Postgres is working..
is there a place to look up error messages?

****************************************************************
Mike Erickson
Self-Proclaimed Expert at Everything
mikeisnot(at)home(dot)com
www.camosun.bc.ca/~cst97023
****************************************************************

Browse pgsql-bugs by date

  From Date Subject
Next Message Unprivileged user 1999-04-23 00:22:54 General Bug Report: configure finds 8 byte int types, but int8 fails to work at runtime
Previous Message Bruce Momjian 1999-04-17 17:18:55 Re: [BUGS] General Bug Report: Documentation problem

Browse pgsql-general by date

  From Date Subject
Next Message Anna Langer 1999-04-19 06:17:32 Questions about libpq!
Previous Message Tommy 1999-04-18 19:43:09 subscribe