how to concat/concat_ws all fields without braces

From: Jean Louis <bugs(at)gnu(dot)support>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: how to concat/concat_ws all fields without braces
Date: 2019-06-15 06:19:57
Message-ID: 20190615061957.GD2565@protected.rcdrun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I have tried doing something like:

SELECT concat_ws(' ', table.*) FROM table;

and if I do that way, it is essentially same as

SELECT concat(table.*) FROM table;

and I get the items in braces like (1,something).

Why do I get it in braces?

Is there a way without specifying specific fields
to get all items concatenated without braces?

I would prefer conat_ws option.

Jean

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rob Nikander 2019-06-15 06:32:51 arrays of composite types, and client drivers like JDBC
Previous Message Leandro Guimarães 2019-06-15 02:26:33 Re: Copy Bulk Ignore Duplicated