Re: Modifying ENUM Type

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Modifying ENUM Type
Дата
Msg-id b42b73150905300536u4d61dc91pa40b9ed1da7a96f0@mail.gmail.com
обсуждение исходный текст
Ответ на Modifying ENUM Type  (APseudoUtopia <apseudoutopia@gmail.com>)
Список pgsql-general
On Sat, May 30, 2009 at 3:55 AM, APseudoUtopia <apseudoutopia@gmail.com> wrote:
> Hey,
>
> I created an ENUM type. However, I accidentally typoed in one of the
> enum values. It is "apps" and it should be "app". What's the best way
> to modify this without dropping the type? I have many tables which
> have columns that depend on the type, and I'm trying to avoid having
> to recreate all those tables again (which would be the case if I have
> to drop the type).
>
> Can I just edit the pg_enum table manually? Will this mess anything up?

yes. just be careful.

merlin

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: How can I look at a recursive table dependency tree?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: How can I look at a recursive table dependency tree?