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

From: Corey Horton <chorton1(at)austin(dot)rr(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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-15 00:39:39
Message-ID: 4945A74B.9020905@austin.rr.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

Fantastic - I'll just if/else the query based on db version.

Thanks!
Corey

Tom Lane wrote:
> 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-12-15 00:47:40 Re: So, why shouldn't SET CONSTRAINTS set a transaction snapshot?
Previous Message Greg Stark 2008-12-15 00:21:51 Re: Sync Rep: First Thoughts on Code

Browse pgsql-sql by date

  From Date Subject
Next Message Louis-David Mitterrand 2008-12-15 06:51:32 Re: optimizing a query
Previous Message Tom Lane 2008-12-14 19:58:03 Re: Re: [SQL] array_to_string(anyarray, text) that was working in 8.1 is not working in 8.3