Hello to all,
I have a question regarding the behavior of insert row in the two versions,
tried to search for it but could not find a similar case, please excuse if
this has already been responded.
When doing a insert row with less columns mentioned in "into table(col1,
col2, col3,..." than the columns that exist on the table, on 1.10.1 it
returns an error saying "INSERT has more expressions than target columns"
(the error is translated so maybe the text is not exactly like this).
Although, when this is insert is done on our test environment, where the
version is 1.10.3 it works fine. The tables have the same columns and so on.
Do you think this is really a matter of the different versions or am I
missing something else?
If this is in fact due to the version, can I upgrade the version without any
problem and is there any guide to do so?
Have also confirmed that the values are as many as the columns specified on
the "into table(col1, col2, col3,..."...
Thank you very much.
View this message in context: http://postgresql.1045698.n5.nabble.com/Insert-row-in-1-10-1-and-1-10-3-tp3281512p3281512.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.
pgsql-sql by date
|Next:||From: Oliveiros d'Azevedo Cristina||Date: 2010-11-26 16:52:37|
|Subject: Re: Insert row in 1.10.1 and 1.10.3|
|Previous:||From: Lew||Date: 2010-11-26 16:07:05|
|Subject: Re: group by hour + distinct|