Re: How to alter the size of a column

Поиск
Список
Период
Сортировка
От Chris Bitmead
Тема Re: How to alter the size of a column
Дата
Msg-id 3986504B.94A4B03B@nimrod.itg.telecom.com.au
обсуждение исходный текст
Ответ на Re: How to alter the size of a column  (Michael Talbot-Wilson <mtw@birdseye.view.net.au>)
Список pgsql-general
Michael Talbot-Wilson wrote:
>
> >      I want to alter the size of a column, say from char(40) to char(80),
> > but it seem that
> > the  ALTER does not support such operation, nor does it support column
> > removing.
> >
> >      How can I do for this ?
>
> I would also like to know how to do both of these things.

I'm not aware of an easy way of doing it. But you can dump your schema
and data separately. Manually edit your schema. Reload the schema then
reload the data.

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

Предыдущее
От: Michael Talbot-Wilson
Дата:
Сообщение: Re: How to alter the size of a column
Следующее
От: brianb-pggeneral@edsamail.com
Дата:
Сообщение: Re: [HACKERS] pg_dump & performance degradation