Question about array_to_string()'s behavior and the behavior mightbe changed in the future or not

Поиск
Список
Период
Сортировка
От Egashira, Yusuke
Тема Question about array_to_string()'s behavior and the behavior mightbe changed in the future or not
Дата
Msg-id 848B1649C8A6274AA527C4472CA11EDD5FA87F88@G01JPEXMBYT02
обсуждение исходный текст
Ответы Re: Question about array_to_string()'s behavior and the behavior might be changed in the future or not  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Список pgsql-general
Hi, 

I have a question about array_to_string(). 
I think array_to_string() concatenates always array elements from the "beginning" of the array elements and this rule
willnot be changed on the future minor releases. 
 
Is my understanding correct? 

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

[Example] -> array_to_string(ARRAY[1, 2, 3, NULL, 5], ',', '*')
[Result]  -> 2,1,3,*,5

Currently I use PostgreSQL 9.5. 

Regards,

--
Yusuke, Egashira




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

Предыдущее
От: Brent Wood
Дата:
Сообщение: Re: Can anyone please provide me list of customers using postgreSQL
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: Question about array_to_string()'s behavior and the behavior might be changed in the future or not