Re: How to modify ENUM datatypes?

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "Andrew Sullivan" <ajs(at)crankycanuck(dot)ca>, pgsql-general(at)postgresql(dot)org
Subject: Re: How to modify ENUM datatypes?
Date: 2008-04-24 16:36:54
Message-ID: dcc563d10804240936vfd113ceqb56ad3082dfdb00@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Apr 24, 2008 at 10:22 AM, Andrew Sullivan <ajs(at)crankycanuck(dot)ca> wrote:
>
> Otherwise, don't use enums. They should be marked (like char(), IMO) in the
> manual as, "Warning: you probably don't want to use this datatype. Go think
> some more."

Good point. I think enums are kind like arrays. Most of the time
they're a bad idea. sometimes they're an ok idea, and very very
rarely, they are exactly what you need to solve a certain problem.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Brendan Jurd 2008-04-24 16:47:39 Re: [GENERAL] I think this is a BUG?
Previous Message Tom Lane 2008-04-24 16:27:15 Re: [GENERAL] I think this is a BUG?