On Mon, Jan 24, 2011 at 13:05, Stephen Frost <sfr...@snowman.net> wrote: > FOR var in ARRAY array_expression ... > > I like that a lot more than inventing a new top-level keyword,
AFAIR, the syntax is not good at an array literal. FOR var IN ARRAY ARRAY[1,2,5] LOOP ... And it was the only drawback compared with FOREACH var IN expr. -- Itagaki Takahiro -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers