How best to turn select result into options like 'a|b|c''

From: Shaozhong SHI <shishaozhong(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: How best to turn select result into options like 'a|b|c''
Date: 2021-12-20 22:10:05
Message-ID: CA+i5JwY3a++vzwdP+qyUjJ=NjJYi8Puhk=fZpi_P+4b1uZP2WQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Is there a way to turn select result into something like 'a|b|c' .
Regards,
David

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ray O'Donnell 2021-12-20 22:23:56 Re: How best to turn select result into options like 'a|b|c''
Previous Message Tom Lane 2021-12-20 21:25:05 Re: Freeing transient memory in aggregate functions