OSDN Git Service

Cause plpgsql to throw an error if "INTO rowtype_var" is followed by a comma.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 Mar 2010 16:14:39 +0000 (16:14 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 Mar 2010 16:14:39 +0000 (16:14 +0000)
commite664969f0f3b7dc557d9df9d30d03b7103f214a3
tree1a9cae8db503f45df5cd8e35cd3cdb391c10e538
parent5600aaccbd5abed768f70b9cf336cc51a108bafb
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.
src/pl/plpgsql/src/gram.y