Re: Re: [SQL] array_to_string(anyarray, text) that was working in 8.1 is not working in 8.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Corey Horton <chorton1(at)austin(dot)rr(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Re: [SQL] array_to_string(anyarray, text) that was working in 8.1 is not working in 8.3
Date: 2008-12-14 19:58:03
Message-ID: 2304.1229284683@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

Corey Horton <chorton1(at)austin(dot)rr(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2008-12-14 20:03:34 Re: WIP: default values for function parameters
Previous Message Mark Mielke 2008-12-14 19:44:39 Re: Sync Rep: First Thoughts on Code

Browse pgsql-sql by date

  From Date Subject
Next Message Corey Horton 2008-12-15 00:39:39 Re: Re: [SQL] array_to_string(anyarray, text) that was working in 8.1 is not working in 8.3
Previous Message Corey Horton 2008-12-14 19:26:05 Re: [SQL] array_to_string(anyarray, text) that was working in 8.1 is not working in 8.3