"Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com> writes:
> Is it a bug in array_lower, array or is it a doc error? I am on 8.2 Beta 1.
Neither, it's an intentional change in the behavior of array_prepend().
You should be reading the 8.2 docs.
regards, tom lane