Re: push array to array

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Tjibbe Rijpma <tjibbe(at)rijpma(dot)org>
Cc: PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org>
Subject: Re: push array to array
Date: 2016-09-18 17:12:53
Message-ID: CAFj8pRBXS5inX-o0hR70wdR+6C2d+WF18E_LDMLtx_jKM3gz=w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

2016-09-18 18:46 GMT+02:00 Tjibbe <tjibbe(at)rijpma(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2016-09-18 17:15:59 Re: push array to array
Previous Message Tjibbe 2016-09-18 16:46:10 push array to array