Cause plpgsql to throw an error if "INTO rowtype_var" is followed by a comma.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e664969f0f3b7dc557d9df9d30d03b7103f214a3
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-03-02T16:14:39Z
Releases: 9.0.0
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.

Files

PathChange+/−
src/pl/plpgsql/src/gram.y modified +22 −1