Re: Why is cast array integer[] <--> text[] is not immutable. - Mailing list pgsql-general

From Tom Lane
Subject Re: Why is cast array integer[] <--> text[] is not immutable.
Date
Msg-id 27130.1323443398@sss.pgh.pa.us
Whole thread Raw
In response to Why is cast array integer[] <--> text[] is not immutable.  (Phil Couling <couling@gmail.com>)
Responses Re: Why is cast array integer[] <--> text[] is not immutable.
List pgsql-general
Phil Couling <couling@gmail.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

pgsql-general by date:

Previous
From: Andre Lopes
Date:
Subject: How to configure the connection timeout in PostgreSQL 8.3
Next
From: Frank Lanitz
Date:
Subject: Re: How to configure the connection timeout in PostgreSQL 8.3