Re: Alter column length

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Alter column length
Дата
Msg-id 18453.985367172@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Alter column length  ("Dan Wilson" <phpPgAdmin@acucore.com>)
Список pgsql-general
"Dan Wilson" <phpPgAdmin@acucore.com> writes:
> I want to alter the length of a column without dumping an re-creating the
> table.

What kind of column?

Offhand I think that hacking atttypmod would be safe for varchar(n)
but not char(n).  BTW, you might need to start a new backend session
to see the effects.

            regards, tom lane

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

Предыдущее
От: "Gregory Wood"
Дата:
Сообщение: Re: Re: Rules, views, sequences and returned values
Следующее
От: Bruce Momjian
Дата:
Сообщение: Transcript of Internet Chat