Re: Plpgsql function to join array elements with a string - Mailing list pgsql-general

From Bastien Continsouzas
Subject Re: Plpgsql function to join array elements with a string
Date
Msg-id 1190215970.599727.8300@g4g2000hsf.googlegroups.com
Whole thread Raw
List pgsql-general
=== 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


pgsql-general by date:

Previous
From: Dan99
Date:
Subject: PG_DUMP not working
Next
From: Benjamin Smith
Date:
Subject: Re: Stuck on Foreign Keys