Re: [HACKERS] Enticing interns to PostgreSQL
| От | Jeff Davis |
|---|---|
| Тема | Re: [HACKERS] Enticing interns to PostgreSQL |
| Дата | |
| Msg-id | 42E6A36B.6030001@empires.org обсуждение исходный текст |
| Ответ на | Re: [HACKERS] Enticing interns to PostgreSQL (Chris Travers <chris@travelamericas.com>) |
| Ответы |
Re: [HACKERS] Enticing interns to PostgreSQL
|
| Список | pgsql-advocacy |
Chris Travers wrote:
> The problem with enums is that although they are handy they are never
> elegant re: database design. Addign enum tables is the only way yo
> maintain sanity in this eent that I can think of.
>
I mostly agree, but I don't think we can dismiss enum completely. After
all, boolean is pretty much enum(false,true), and nobody would advocate
removing that type.
We could probably think of a few other cases, but it's often used
inappropriately. Just the fact that we're talking about it now surprises
me; I had no idea that many people actually used enum. The thought of
using it never crossed my mind in a real situation.
Regards,
Jeff Davis
В списке pgsql-advocacy по дате отправления: