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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Re: array_to_string(anyarray, text) that was working in 8.1 is not working in 8.3
Дата
Msg-id 2304.1229284683@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: array_to_string(anyarray, text) that was working in 8.1 is not working in 8.3  (Corey Horton <chorton1@austin.rr.com>)
Ответы Re: [HACKERS] Re: array_to_string(anyarray, text) that was working in 8.1 is not working in 8.3
Список 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 по дате отправления:

Предыдущее
От: Corey Horton
Дата:
Сообщение: Re: array_to_string(anyarray, text) that was working in 8.1 is not working in 8.3
Следующее
От: Corey Horton
Дата:
Сообщение: Re: [HACKERS] Re: array_to_string(anyarray, text) that was working in 8.1 is not working in 8.3