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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Phil Couling <couling(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Why is cast array integer[] <--> text[] is not immutable.
Date: 2011-12-09 17:05:57
Message-ID: 1634.1323450357@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Phil Couling <couling(at)gmail(dot)com> writes:
> Is there a way to set a different cast for an array?

I think it should work to declare a cast explicitly for the particular
case.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message James B. Byrne 2011-12-09 17:13:59 Re: OT DBA type question - GRANT PRIVILEGE
Previous Message Phil Couling 2011-12-09 16:23:44 Re: Why is cast array integer[] <--> text[] is not immutable.