Search Postgresql Archives

Re: Plpgsql function to join array elements with a string

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

 



=== PROBLEM SOLVED ===

I found for what I was looking
http://www.postgresql.org/docs/8.0/static/functions-array.html

Function : array_to_string (anyarray, text)
Return type : text
Description : concatenates array elements using provided delimiter
Example : array_to_string(array[1, 2, 3], '~^~')
Result : 1~^~2~^~3

Bastien Continsouzas


---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

               http://archives.postgresql.org/

[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