Re: Question about array_to_string()'s behavior and the behavior might be changed in the future or not

Поиск
Список
Период
Сортировка
От Andrew Gierth
Тема Re: Question about array_to_string()'s behavior and the behavior might be changed in the future or not
Дата
Msg-id 87munzixk4.fsf@news-spur.riddles.org.uk
обсуждение исходный текст
Ответ на Question about array_to_string()'s behavior and the behavior mightbe changed in the future or not  ("Egashira, Yusuke" <egashira.yusuke@jp.fujitsu.com>)
Ответы RE: Question about array_to_string()'s behavior and the behaviormight be changed in the future or not  ("Egashira, Yusuke" <egashira.yusuke@jp.fujitsu.com>)
Список pgsql-general
>>>>> "Egashira" == Egashira, Yusuke <egashira.yusuke@jp.fujitsu.com> writes:

 Egashira> Hi, 
 Egashira> I have a question about array_to_string(). 

 Egashira> I think array_to_string() concatenates always array elements
 Egashira> from the "beginning" of the array elements and this rule will
 Egashira> not be changed on the future minor releases.

 Egashira> Is my understanding correct? 

The order of elements in the original array will always be preserved in
the string output, yes.

 Egashira> For example, I understand that array_to_string() "never"
 Egashira> output like following result now and in the future, is my
 Egashira> understanding correct?

Yes.

-- 
Andrew (irc:RhodiumToad)


В списке pgsql-general по дате отправления:

Предыдущее
От: "Egashira, Yusuke"
Дата:
Сообщение: Question about array_to_string()'s behavior and the behavior mightbe changed in the future or not
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: Weird behaviour of ROLLUP/GROUPING