Re: proposal: FOREACH-IN-ARRAY (probably for 9.2?)
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: "David E. Wheeler" <david@kineticode.com>, Andrew Dunstan <andrew@dunslane.net>, Pavel Stehule <pavel.stehule@gmail.com>, Itagaki Takahiro <itagaki.takahiro@gmail.com>, Merlin Moncure <mmoncure@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2010-12-17T20:08:34Z
Lists: pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes: > On Fri, Dec 17, 2010 at 2:58 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> plpgsql's parser is rickety enough that I don't have a lot of confidence >> in its ability to do things that way. > Bummer. Rickety is not good. Agreed, but it's not entirely the parser's fault: the language definition is pretty d*mn bogus to start with. Read the comments for the for_variable production, and ask yourself whether you really want to inject even more difficult-to-disambiguate cases right there. regards, tom lane