Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 will not 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 understanding correct? 

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

Currently I use PostgreSQL 9.5. 

Regards,

--
Yusuke, Egashira






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux