Re: BUG #3966: problem with implicit cast array parameter - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #3966: problem with implicit cast array parameter
Date
Msg-id 26836.1203361753@sss.pgh.pa.us
Whole thread Raw
In response to BUG #3966: problem with implicit cast array parameter  ("Pawel Kasperek" <pcasper@wp.pl>)
List pgsql-bugs
"Pawel Kasperek" <pcasper@wp.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

pgsql-bugs by date:

Previous
From: Gregory Stark
Date:
Subject: Re: BUG #3965: UNIQUE constraint fails on long column values
Next
From: Bruce Momjian
Date:
Subject: Re: BUG #3965: UNIQUE constraint fails on long column values