Error class not found - Mailing list pgsql-general

From Remi
Subject Error class not found
Date
Msg-id 003c01c20749$ec5b5210$0b00a8c0@RODRIGO
Whole thread Raw
In response to Re: Invalid length of startup packet  (Jan Wieck <janwieck@yahoo.com>)
Responses Re: Error class not found  (Darren Ferguson <darren@crystalballinc.com>)
Re: Error class not found  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Y have import a table of  PostgreSQL 7.0.3  in the  PostgreSQL 7.2.1  with
PhpPgAdmin and a file.sql below:
-----------------------------------------------------------
CREATE TABLE "mensajes" (
   "mensajeid" int4 DEFAULT nextval('mensajes_mensajeid_seq'::text) NOT
NULL,
   "usuarioid" int4 NOT NULL,
   "fechacreacion" timestamp NOT NULL,
   "asunto" varchar(255) NOT NULL,
   "cuerpo" text NOT NULL,
   CONSTRAINT "mensajes_pkey" PRIMARY KEY ("mensajeid")
);
CREATE  INDEX "mensajes_usuarioid_key" ON "mensajes" ("usuarioid");
/* --------------------------------------------------------
  Dumping data for table "mensajes"
-------------------------------------------------------- */
INSERT INTO "mensajes" ("usuarioid", "fechacreacion", "asunto", "cuerpo")
VALUES(35, 1, '2002-04-21 04:58:54+02', 'aa', 'a');
... / ...
INSERT INTO "mensajes" ("usuarioid", "fechacreacion", "asunto", "cuerpo")
VALUES(87, 9, '2002-05-23 19:14:38+02', 'Re: Mensaje de prueba', 'De remi');
-----------------------------------------------------------

The structure is :
-----------------------------------------------------------
Field               Type            Length    Not Null    Default
mensajeid        int4             4             Yes
nextval('mensajes_mensajeid_seq'::text)
usuarioid         int4             4              Yes
fechacreacion timestamptz 8              Yes
asunto            varchar        255          Yes
cuerpo           text var                         Yes

Keyname                         Unique   Primary   Field
mensajes_pkey                Yes        Yes         mensajeid
mensajes_usuarioid_key   No        No           usuarioid
-----------------------------------------------------------

When y use a INSERT query:
INSERT INTO mensajes (usuarioid, asunto, cuerpo, fechacreacion)
VALUES (35, 'sd', 'sd', '2002-05-29 21:22:34')

y have this error
ERROR:  pg_aclcheck: class "mensajes_mensajeid_seq" not found

y have this with all table width the nextval('xxx_xxx_seq'::text) option

Does any one help me please ?

Thank you

Remi


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Invalid length of startup packet
Next
From: Darren Ferguson
Date:
Subject: Re: Error class not found