From: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
---|---|
To: | APseudoUtopia <apseudoutopia(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Modifying ENUM Type |
Date: | 2009-05-30 12:36:35 |
Message-ID: | b42b73150905300536u4d61dc91pa40b9ed1da7a96f0@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sat, May 30, 2009 at 3:55 AM, APseudoUtopia <apseudoutopia(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-05-30 15:49:02 | Re: How can I look at a recursive table dependency tree? |
Previous Message | Greg Stark | 2009-05-30 11:07:38 | Re: How can I look at a recursive table dependency tree? |