OSDN Git Service

Give a suitable HINT when an INSERT's data source is a RowExpr containing
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 18 Sep 2010 18:37:01 +0000 (18:37 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 18 Sep 2010 18:37:01 +0000 (18:37 +0000)
commitaf0161e5273a8b81cc76d6267ce9a7079268fe4a
tree3841d9def504f37cf422937efd5d32927a644745
parent48f0a28b488f6ab2c3774c922f5af69b84f693b5
Give a suitable HINT when an INSERT's data source is a RowExpr containing
the same number of columns expected by the insert.  This suggests that there
were extra parentheses that converted the intended column list into a row
expression.

Original patch by Marko Tiikkaja, rather heavily editorialized by me.
src/backend/parser/analyze.c