Re: TODO question - Mailing list pgsql-hackers

From Pavlo Baron
Subject Re: TODO question
Date
Msg-id 017501c18f29$6b3d5fe0$6500a8c0@bw1
Whole thread Raw
In response to Re: TODO question  (Vince Vielhaber <vev@michvhf.com>)
Responses Re: TODO question  (Vince Vielhaber <vev@michvhf.com>)
List pgsql-hackers
Vince Vielhaber:
> INSERT INTO foo(a,b) values(1,2,3);
>

sorry, but I'm a little bit confused: what should or should not happen with
this:
if I execute this INSERT on a table having 2 cols, an error is generated:
ERROR: INSERT has more expressions than target columns

has it already been fixed? or what should be exactly disallowed? every time
I execute such statement with any cols/vals combination having different
cols/vals number it fails. Should it be allowed now?

rgds
Pavlo Baron



pgsql-hackers by date:

Previous
From: Vince Vielhaber
Date:
Subject: Re: TODO question
Next
From: Tom Lane
Date:
Subject: Re: TODO question