BUG #4188: Array field column (varchar[]) cannot be cast to type "text"

Поиск
Список
Период
Сортировка
От Murali Doss
Тема BUG #4188: Array field column (varchar[]) cannot be cast to type "text"
Дата
Msg-id 200805231105.m4NB5HTe019402@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #4188: Array field column (varchar[]) cannot be cast to type "text"  ("Heikki Linnakangas" <heikki@enterprisedb.com>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      4188
Logged by:          Murali Doss
Email address:      murali.doss@mphasis.com
PostgreSQL version: 8.2.6
Operating system:   Linux
Description:        Array field column (varchar[]) cannot be cast to type
"text"
Details:

Dear All,

I have a array field column varchar[] data type and i need to change to text
data type.but it throwing following error

ALTER TABLE mytable ALTER mycolumn TYPE text;

ERROR: column "mycolumn" cannot be cast to type "text"
SQL state: 42804

Please suggest a good solution.

Regards
Murali

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Martin Sullivan"
Дата:
Сообщение: BUG #4187: function to_tsvector not immutable
Следующее
От: "Heikki Linnakangas"
Дата:
Сообщение: Re: BUG #4188: Array field column (varchar[]) cannot be cast to type "text"