BUG #3941: Insert Error - Mailing list pgsql-bugs

From gnp yadav
Subject BUG #3941: Insert Error
Date
Msg-id 200802080801.m1881JeA091085@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #3941: Insert Error  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Re: BUG #3941: Insert Error  (Gary Doades <gpd@gpdnet.co.uk>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      3941
Logged by:          gnp yadav
Email address:      gnperumal@gmail.com
PostgreSQL version: 8.1
Operating system:   Ubuntu Linux
Description:        Insert Error
Details:

CREATE TABLE sentence
(
  sentence_id serial NOT NULL,
  citation_id int8 NOT NULL,
  sen_offset int8 NOT NULL,
  sen_length int8 NOT NULL,
  sen_type varchar(10)[] NOT NULL,
  CONSTRAINT sentence_id PRIMARY KEY (sentence_id),
  CONSTRAINT citation_id FOREIGN KEY (sentence_id)
      REFERENCES citation (citation_id) MATCH SIMPLE
      ON UPDATE NO ACTION ON DELETE NO ACTION
) ;

INSERT INTO sentence (sentence_id, citation_id, sen_offset, sen_length,
sen_type) VALUES (NULL,1,2,3,asd");


As i Got This type error frequently

ERROR:  column "asd" does not exist

please guide me, Advance thanks to for my teacher.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #3940: 'unrecognized node type: 1718580065'
Next
From: Zdenek Kotala
Date:
Subject: Re: BUG #3941: Insert Error