Re: Changing the type of a column ?

Поиск
Список
Период
Сортировка
От Grant
Тема Re: Changing the type of a column ?
Дата
Msg-id Pine.LNX.4.21.0103011536580.4592-100000@webster.conprojan.com.au
обсуждение исходный текст
Ответ на Changing the type of a column ?  (Bayet Richard <bayet@enseirb.fr>)
Список pgsql-admin
> Is it possible to directly change the type of a column (eg: from int4 to
> date) or does one have to first add a column of the desired type, copy
> the first column's content, then drop this first column ?

No it's not possible. Your solution is correct.


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

Предыдущее
От: Bayet Richard
Дата:
Сообщение: Changing the type of a column ?
Следующее
От: Richard Bayet
Дата:
Сообщение: Re: Changing the type of a column ?