Search Postgresql Archives

array_cat without duplicity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

Postgresql: version 8.1.11

Is there a way to concatenate two arrays without duplicity?

This select return duplicity:

SELECT array_cat(ARRAY[1,2], ARRAY[2,3]);
array_cat
-----------
{1,2,2,3}

I need to get result without duplicity!
{1,2,3}

Thx
Fafi

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux