Re: how to alter an enum type

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема Re: how to alter an enum type
Дата
Msg-id 135306.26135.qm@web31805.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на how to alter an enum type  (Henrique Pantarotto <henpa@terra.com.br>)
Ответы Re: how to alter an enum type  (Henrique Pantarotto <henpa@terra.com.br>)
Список pgsql-general
--- On Mon, 12/24/07, Henrique Pantarotto <henpa@terra.com.br> wrote:

> I tried searching the documentation and mailing list, and I
> couldn't
> figure this one out.

 ALTER TABLE questions
ALTER COLUMN answers TYPE possible_answers;

Actually your type is fine.  you only need to alter the column on your table to use your new type.

Regards,
Richard Broersma Jr.

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

Предыдущее
От: Gordon
Дата:
Сообщение: Re: Postgres from PHP in Leopard
Следующее
От: Richard Broersma Jr
Дата:
Сообщение: Re: pg_ctl start fails on Windows