RE: Alter column length

Поиск
Список
Период
Сортировка
От Tamsin
Тема RE: Alter column length
Дата
Msg-id NEBBKHBOBMJCHDMGKCNJCEHOCLAA.tg_mail@bryncadfan.co.uk
обсуждение исходный текст
Ответ на Alter column length  ("Dan Wilson" <phpPgAdmin@acucore.com>)
Список pgsql-general
I've used that method without any problems.  I had to experiment a bit by
creating test tables with different length columns to see what to set
atttypmod to, because I didn't really know what the value meant!  Seemed to
work ok though...
Tamsin

>
> -----------------------------
> update pg_attribute set atttypmod = [column_oid] where attname =
> '[column_name]' where attrelid = (select oid from pg_class where relname =
> '[table_name]');
> -----------------------------
>
> Will doing this cause any problems?
>
> -Dan
>


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Slow SELECT...IN statements
Следующее
От: Michael Fork
Дата:
Сообщение: Re: internationalizing text