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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Give a suitable HINT when an INSERT's data source is a RowExpr
Date: 2010-09-18 18:37:01
Message-ID: 20100918183701.800697541E5@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2010-09-18 19:59:34 Re: Configuring synchronous replication
Previous Message Dimitri Fontaine 2010-09-18 11:57:47 Re: Configuring synchronous replication