Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> I am resending a redesigned proposal about special plpgsql statement
> that support iteration over an array.
OK ...
> == Iteration over multidimensional arrays ==
> Its designed to reduce one dimension from source array. It can remove
> a slicing and simplify code:
This seems like a really bad, confusing idea. I think it should throw
a type-mismatch error in this case. If there is any use-case for such a
thing, which I'm quite unconvinced of, it ought to use a separate syntax
rather than overloading the element-by-element syntax.
regards, tom lane