[TLM] Re: how to alter an enum type

Поиск
Список
Период
Сортировка
От Richard Broersma Jr
Тема [TLM] Re: how to alter an enum type
Дата
Msg-id 20071224175327.32804414281@qatlm3.calidad2.pandasoftware.com
обсуждение исходный текст
Ответ на 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.

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

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

Предыдущее
От: 杨雪枫
Дата:
Сообщение: [TLM] It's serious,Help!
Следующее
От: Thomas Hart
Дата:
Сообщение: weird date/times in mailing list