pgsql-bugs(at)postgresql(dot)org writes:
> cast() no longer works in array inserts
It never has. You are confusing a rather lame failure of error checking
in 7.1 with a feature. 7.1 and before will in fact take quite a lot of
random garbage in array input strings :=(
regards, tom lane