Re: Plpgsql function to join array elements with a string

Поиск
Список
Период
Сортировка
Искать

Re: Plpgsql function to join array elements with a string

От:
Bastien Continsouzas <dev@continsouzas.com>
Дата:
=== 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

FAQ