RE: Change column type macaddr to macaddr[]

2017-12-30 Thread Ertan Küçükoğlu
>From: David G. Johnston [mailto:david.g.johns...@gmail.com] >Sent: Sunday, December 31, 2017 2:56 AM >To: Ertan Küçükoğlu >Cc: pgsql-gene...@postgresql.org >Subject: Re: Change column type macaddr to macaddr[] > >Maybe try: > >Using array[mac]::macaddr[] > >

Re: Change column type macaddr to macaddr[]

2017-12-30 Thread David G. Johnston
On Saturday, December 30, 2017, Ertan Küçükoğlu wrote: > 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 (

Change column type macaddr to macaddr[]

2017-12-30 Thread Ertan Küçükoğlu
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=# alter