Join field values - Mailing list pgsql-general

From veejar
Subject Join field values
Date
Msg-id a4c4d7e50706050933h1b6882d0jd50aad963af936b0@mail.gmail.com
Whole thread Raw
Responses Re: Join field values
Re: Join field values
Re: Join field values
List pgsql-general
Hello!

I have such field in my table:

field1
-------
1
2
3
4
5


I want to get such result from select:
'1,2,3,4,5' - join all values in field1 with ','
// result must be varchar.

Help to write SELECT-query for this task.

pgsql-general by date:

Previous
From: Erik Jones
Date:
Subject: Re: Large Database \d: ERROR: cache lookup failed for relation ...
Next
From: "Marko Kreen"
Date:
Subject: Re: Encrypted column