Re: Error when changing column type

Поиск
Список
Период
Сортировка
Искать
От
Andreas Pflug
Тема
Re: Error when changing column type
Дата
Msg-id
41893423.4000808@pse-consulting.de
Ответ на
Список
Дерево обсуждения
Error when changing column type "Virgil Frum" <virgil@livius.net>
Re: Error when changing column type Andreas Pflug <pgadmin@pse-consulting.de>
Virgil Frum wrote:
> If column type is int4 and try to change type to int2, SQL look like this:
> 
> UPDATE pg_attribute
>    SET atttypid=, atttypmod=-1
>  WHERE attrelid=21459::oid AND attnum=3;
> 
> and syntax error occurs. I know that int2 is not in Data type drop down list
> but error should be avoided in some way.

Well don't do that :-)
Seriously: fixed and committed to cvs.

Regards,
Andreas


В списке pgadmin-support по дате отправления
От: Virgil Frum
Дата:
От: Virgil Frum
Дата:
Сообщение: Modifying server address
FAQ