Обсуждение: pgsql: Give a suitable HINT when an INSERT's data source is a RowExpr

Поиск
Список
Период
Сортировка

pgsql: Give a suitable HINT when an INSERT's data source is a RowExpr

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/backend/parser:
        analyze.c (r1.403 -> r1.404)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/analyze.c?r1=1.403&r2=1.404)