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:
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