Re: best way to handle enum type

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Cc: Tom Hart <tomhart(at)coopfed(dot)org>
Subject: Re: best way to handle enum type
Date: 2007-11-21 23:59:02
Message-ID: 200711220059.02550.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Hart wrote:
> Hey everybody. I have a field that, in my earlier mySQL days would have
> been an enum('q','y','m','c'), and I'm wondering what's the best way to
> handle this in pgsql.

If it's an option, upgrade to 8.3 and use the new enum support.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Broersma Jr 2007-11-22 00:47:00 Re: [GENERAL] POLL: Women-sized t-shirts for PostgreSQL
Previous Message Bruce Momjian 2007-11-21 23:44:18 Re: Fragments in tsearch2 headline