I believe I've fixed all these array problems as of current CVS sources,
a/k/a Postgres 7.1-to-be.
There's a lot more that could be done (eg, addressing the inability to
have individual NULL elements in an array), but other issues beckon...
regards, tom lane