Search Postgresql Archives

Re: [HACKERS] string_to_array with empty input

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

 



Martin Gainty wrote:
Split strings into array elements using provided delimiter

string_to_array('xx~^~yy~^~zz', '~^~')
output:
{xx,yy,zz}

http://www.postgresql.org/docs/8.3/interactive/functions-array.html

Sorry thats not the question i'm asking. 

We are debating if it makes sense to change the output in certain cases. 

I'm for not returning nulls or returning zero element array. 

I'm asking how is the other better by giving a real world example???  I don't see the plus side at the moment.

[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