Re: [GENERAL] record new has no field cat

2000-10-17 Thread Tom Lane
Fabrice Pollet <[EMAIL PROTECTED]> 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:

[GENERAL] record new has no field cat

2000-10-17 Thread Fabrice Pollet
create table inventaire ( id serial primary key, catégorie text constraint catégorie check (catégorie='informatique' or catégorie='bureautique' or catégorie='technique' or catégorie='contrat'), n°_contrat text, n°_facture text, n°_commande text, nie text, n°_barre int, n°_série text, ref_fabriqua