A bozo's blog
db=#
select
array_to_string(array[
'a'
,
'b'
'c'
],
'-'
);
array_to_string
-----------------
a-b-c
(1 row)