Re: BUG #3966: problem with implicit cast array parameter

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Pawel Kasperek" <pcasper(at)wp(dot)pl>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3966: problem with implicit cast array parameter
Date: 2008-02-18 19:09:13
Message-ID: 26836.1203361753@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Pawel Kasperek" <pcasper(at)wp(dot)pl> writes:
> In PostgreSQL 8.2 I can call function: test_func(p1 text[]) as "PERFORM
> test_func(ARRAY[0,1])". The server could be implicit cast array of integer
> elements to array of text. In PostgreSQL 8.3 I have error: function
> test_func(integer[]) does not exist. For me problem is missed implicit
> casting elements of array to text type.

This is not a bug, it's an intentional change; see the 8.3 release
notes.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bernard Le Jour 2008-02-18 21:59:07 BUG #3967: EXISTS clause on subquery
Previous Message Gregory Stark 2008-02-18 15:29:44 Re: BUG #3965: UNIQUE constraint fails on long column values