Re: REVIEW: WIP: plpgsql - foreach in

Stephen Frost <sfrost@snowman.net>

From: Stephen Frost <sfrost@snowman.net>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Itagaki Takahiro <itagaki.takahiro@gmail.com>, Robert Haas <robertmhaas@gmail.com>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2011-01-29T13:09:33Z
Lists: pgsql-hackers
* Pavel Stehule (pavel.stehule@gmail.com) wrote:
> You have a similar opinion like me about design this statement. But
> there are others with strong negative opinion. For someone ARRAY ARRAY
> should be a problem. So FOREACH is third way - more, it increase a
> possibility for enhancing plpgsql in future.

I look forward to hearing from the silent majority on this then.

> the main issue was a maintainability of more complex FOR statement.

That would be a reason to not have this functionality at all, not a
reason to add confusion with a new top-level command.

	Thanks,

		Stephen