Phil Couling <couling(at)gmail(dot)com> writes:
> I'm struggling to understand why this casts is not immutable:
> integer[]::text[]
> text[]::integer[]
Because it's implemented via array_out/array_in rather than any more
direct method, and those are marked stable because they potentially
invoke non-immutable element I/O functions.
regards, tom lane