"Nicolai Petri" <lists(at)petri(dot)cc> writes:
> The problem is that i cannot assign values to explicit array values like
> myarray[2]:=123;
Yeah, plpgsql doesn't support that (subscripting the assignment
destination). It's been on the to-do list for awhile, but hasn't risen
to the top of anyone's queue I guess. One thing that's not real clear
is what the semantics should be --- the equivalent cases at the SQL
level aren't super friendly, either.
regards, tom lane