Re: Enum in PostgreSQL - How to

From: "Dan Langille" <dan(at)langille(dot)org>
To: Jürgen Hauser <hauser(at)pandora(dot)be>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Enum in PostgreSQL - How to
Date: 2003-04-07 12:41:02
Message-ID: 3E91399E.909.A021F7D@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7 Apr 2003 at 14:24, Jürgen Hauser wrote:

> Could somebody tell me how i would simulate an ENUM columntype (as in
> MySQL). For example:
>
> accountType ENUM('default', 'custom') default='default'
>
> How can i do this in PostgreSQL ?

I tried to answer you on IRC, but you disappeared too quickly.

I looked on google, and found this:

http://archives.postgresql.org/pgsql-sql/2000-03/msg00020.php
--
Dan Langille : http://www.langille.org/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2003-04-07 12:43:38 Re: possible time change issue - known problem?
Previous Message Jürgen Hauser 2003-04-07 12:24:52 Enum in PostgreSQL - How to