pgsql: Cause plpgsql to throw an error if "INTO rowtype_var" is followed

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Cause plpgsql to throw an error if "INTO rowtype_var" is followed
Date: 2010-03-02 16:14:39
Message-ID: 20100302161439.496BB7541D0@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Cause plpgsql to throw an error if "INTO rowtype_var" is followed by a comma.
Per bug #5352, this helps to provide a useful error message if the user
tries to do something presently unsupported, namely use a rowtype variable
as a member of a multiple-item INTO list.

Modified Files:
--------------
pgsql/src/pl/plpgsql/src:
gram.y (r1.140 -> r1.141)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/gram.y?r1=1.140&r2=1.141)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2010-03-02 17:06:51 pgsql: Do not run regression tests for contrib/xml2 on MSVC unless
Previous Message Andrew Dunstan 2010-03-02 15:44:03 pgsql: Backpatch MSVC build fix for XSLT