Re: [HACKERS] Re: array_to_string(anyarray, text) that was working in 8.1 is not working in 8.3 - Mailing list pgsql-sql

From Tom Lane
Subject Re: [HACKERS] Re: array_to_string(anyarray, text) that was working in 8.1 is not working in 8.3
Date
Msg-id 2304.1229284683@sss.pgh.pa.us
Whole thread Raw
In response to Re: array_to_string(anyarray, text) that was working in 8.1 is not working in 8.3  (Corey Horton <chorton1@austin.rr.com>)
Responses Re: [HACKERS] Re: array_to_string(anyarray, text) that was working in 8.1 is not working in 8.3
List pgsql-sql
Corey Horton <chorton1@austin.rr.com> writes:
> Is there any known workaround to get this the elements of the 
> histogram_bounds anyarray in 8.3.5.

It appears that you could explicitly cast to text and thence to text[]:
select array_to_string(histogram_bounds::text::text[],  '-') from ...
but this might be too ugly for your taste.

> If not, when might I expect a fix?

8.3.6, or apply
http://archives.postgresql.org/pgsql-committers/2008-12/msg00109.php
        regards, tom lane


pgsql-sql by date:

Previous
From: Corey Horton
Date:
Subject: Re: array_to_string(anyarray, text) that was working in 8.1 is not working in 8.3
Next
From: Corey Horton
Date:
Subject: Re: [HACKERS] Re: array_to_string(anyarray, text) that was working in 8.1 is not working in 8.3