Re: Alter field type?

Поиск
Список
Период
Сортировка
От Markus Bertheau
Тема Re: Alter field type?
Дата
Msg-id 5aa13ad404082602571dd52d1@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Alter field type?  (Greg Stark <gsstark@mit.edu>)
Список pgsql-general
On 26 Aug 2004 04:36:18 -0400, Greg Stark <gsstark@mit.edu> wrote:
>
> Bjørn T Johansen <btj@havleik.no> writes:
>
> > Is it possible to alter field type (from varchar to text) without making a new
> > table?
>
> You can add a new column, update the table to set the new column to the old
> value. then drop the old column. Then you might want to vacuum full the table.

Does vacuum full completely remove the dropped column?

Thanks

--
Markus Bertheau <mbertheau@gmail.com>

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

Предыдущее
От: Bjørn T Johansen
Дата:
Сообщение: Re: Alter field type?
Следующее
От: Ulrich Wisser
Дата:
Сообщение: stone-age maintenance procedures ;-)