From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Fabrice Pollet <pollet(at)ensta(dot)fr> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: record new has no field cat |
Date: | 2000-10-17 19:19:42 |
Message-ID: | 1936.971810382@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Fabrice Pollet <pollet(at)ensta(dot)fr> writes:
> ERROR: INSERT has more expressions than target columns
> I get this message when I insert in table inventaire.
What version are you running? I don't see a problem with 7.0.2:
play=> insert into inventaire (catgorie) values ('informatique');
ERROR: empname cannot be NULL value
play=> insert into inventaire (catgorie,dimension,nb_pieds) values ('informatique','z','3');
ERROR: empname cannot be NULL value
play=> insert into inventaire (catgorie,dimension,nb_pieds,nb_tiroir) values ('informatique','z','3','4');
ERROR: ExecAppend: rejected due to CHECK constraint $3
play=> insert into inventaire (catgorie,dimension,nb_pieds,nb_tiroir,nie) values ('informatique','z','3','4','q');
INSERT 335042 1
play=>
Possibly more to the point, what is your INSERT command exactly?
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Mount | 2000-10-17 19:21:00 | Re: Error building JDBC Driver |
Previous Message | Joseph Shraibman | 2000-10-17 19:06:35 | vacuums failing |