modifying VARCHAR max length

Поиск
Список
Период
Сортировка
От Divya Jain
Тема modifying VARCHAR max length
Дата
Msg-id 4.3.2.7.2.20030528112658.03049288@mira-sjc5-5.cisco.com
обсуждение исходный текст
Список pgsql-general
I'm running Postgres 7.2.4. A VARCHAR column in my schema needs to be longer than the currently defined max length.
Whatis the best way to achieve this without adding a new column with the correct VARCHAR length ? 

One way I figured is to modify the pg_attribute table and set atttypmod to the correct value. Just want to know if
thereis any risk involved in doing this. 
Thanks
Divya



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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Lock table
Следующее
От: valerian
Дата:
Сообщение: CURRENT_DATE and CURRENT_TIME return incorrect values