Search Postgresql Archives

Re: 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]

 



>>>>> "Egashira" == Egashira, Yusuke <egashira.yusuke@xxxxxxxxxxxxxx> 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)




[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