Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVQwp-0004GQ-8b for pgsql-general@arkaria.postgresql.org; Sat, 30 Dec 2017 23:53:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVQwo-0007BA-P0 for pgsql-general@arkaria.postgresql.org; Sat, 30 Dec 2017 23:53:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eVQwo-0007B0-Hi for pgsql-general@lists.postgresql.org; Sat, 30 Dec 2017 23:53:50 +0000 Received: from mta04.2.doruk.net.tr ([81.21.172.141] helo=mta04.doruk.net.tr) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1eVQwl-0003jA-S0 for pgsql-general@postgresql.org; Sat, 30 Dec 2017 23:53:50 +0000 Received: from cmail19.webkontrol.doruk.net.tr ([212.58.6.99]) by mta04.doruk.net.tr with esmtp (Exim 4.86) (envelope-from ) id 1eVQtv-0008dh-8v for pgsql-general@postgresql.org; Sun, 31 Dec 2017 02:50:51 +0300 Received: from DESKTOPM80CG12 ([94.122.19.189]) by cmail19.webkontrol.doruk.net.tr (IceWarp 11.1.2.0) with ASMTP id 201712310254067763 for ; Sun, 31 Dec 2017 02:54:06 +0300 From: =?iso-8859-9?B?RXJ0YW4gS/zn/Gtv8Gx1?= To: Subject: Change column type macaddr to macaddr[] Date: Sun, 31 Dec 2017 02:53:43 +0300 Message-ID: <002401d381c9$6cde3d70$469ab850$@1nar.com.tr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-9" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AdOByBgjfbVX3q5+TNa18nJUabp35w== Content-Language: tr List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, I am using PostgreSQL 9.6.6 on armv8l-unknown-linux-gnueabihf, compiled = by gcc (Raspbian 6.3.0-18+rpi1) 6.3.0 20170516, 32-bit I have a table with column name mac type macaddr. I need to change it = into array of macaddr ( macaddr[] ) type. Among all others I did try below: licenses=3D# alter table licreqm alter column mac type macaddr[] using mac::macaddr[]; ERROR: cannot cast type macaddr to macaddr[] LINE 1: ... licreqm alter column mac type macaddr[] using = mac::macaddr[... ^ I believe there should be a way, I just do not know it myself. Anyone = can help me? Thanks & regards, Ertan K=FC=E7=FCko=F0lu