Re: push array to array - Mailing list pgsql-general

From Pavel Stehule
Subject Re: push array to array
Date
Msg-id CAFj8pRBXS5inX-o0hR70wdR+6C2d+WF18E_LDMLtx_jKM3gz=w@mail.gmail.com
Whole thread Raw
In response to push array to array  (Tjibbe <tjibbe@rijpma.org>)
Responses Re: push array to array  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-general
Hi


2016-09-18 18:46 GMT+02:00 Tjibbe <tjibbe@rijpma.org>:
'{{4,5},{8,3}}' + '{3,6}'

postgres=# select '{{4,5},{8,3}}'::int[] || ARRAY[[3,6]];
+---------------------+
|      ?column?       |
+---------------------+
| {{4,5},{8,3},{3,6}} |
+---------------------+
(1 row)


regards

Pavel

pgsql-general by date:

Previous
From: Tjibbe
Date:
Subject: push array to array
Next
From: Pavel Stehule
Date:
Subject: Re: push array to array