weird result by changing type enum array to text array of a column

From: Thomas Poty <thomas(dot)poty(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: weird result by changing type enum array to text array of a column
Date: 2018-02-05 10:26:33
Message-ID: CAN_ctnj4O8F9yg7Y_N48Oy8Zzq=0AN+nmkVYss1UiSDpg=5SYQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I m running 9.5.10 on centos 7.

I have a colmun "TestFields", its type is an array of an enum.

I would like to change the type of this column by an array of text.

So i execute -> alter table "controldetailpromoters" alter column
"TestFields" type text[]
The command seems to be correctly executed
but when I execute a "\d" of my table, the column "TestFields" is always
an array of the enum....

Do you have any idea of what is going wrong?

Thank you.
Thomas

Responses

Browse pgsql-general by date

  From Date Subject
Next Message rob stone 2018-02-05 12:16:20 Re: weird result by changing type enum array to text array of a column
Previous Message Tore Halvorsen 2018-02-05 08:20:57 Replication slots for cascading replication.