Re: [BUGS] BUG #6095: Misleading error message: INSERT has more expressions than target columns

2011-07-07 Thread Tom Lane
"Gavin Flower" writes: > In the 'INSERT INTO' construct: I think that psql should first check that > the fields listed after the table name are valid, before checking that the > number of columns specified is sufficient for the number of expressions. Hmm ... I think this would just move the set

[BUGS] BUG #6095: Misleading error message: INSERT has more expressions than target columns

2011-07-07 Thread Gavin Flower
The following bug has been logged online: Bug reference: 6095 Logged by: Gavin Flower Email address: gavin.flo...@archidevsys.co.nz PostgreSQL version: 9.1beta2 Operating system: x86_64 Linux Description:Misleading error message: INSERT has more expressions than targe