Re: How to modify ENUM datatypes? - Mailing list pgsql-general

From Robert Treat
Subject Re: How to modify ENUM datatypes?
Date
Msg-id 200804231751.48705.xzilla@users.sourceforge.net
Whole thread Raw
In response to Re: How to modify ENUM datatypes?  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Responses Re: How to modify ENUM datatypes?  ("Rob Wultsch" <wultsch@gmail.com>)
Re: How to modify ENUM datatypes?  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
List pgsql-general
On Wednesday 23 April 2008 14:10, Karsten Hilbert wrote:
> On Wed, Apr 23, 2008 at 12:38:48PM +0200, Andreas 'ads' Scherbaum wrote:
> > Yes. You should/can use ENUM for something like 'gender':
> > male, female, unknown. You don't need to add other values ever (yeah, i
> > skipped some special cases).
>
> I was gonna say ! :-)
>
> Add
>
>  hermaphrodite
>  transgender with female phenotype
>  transgender with male phenotype
>
> and you should be set from current medical science's point
> of view ;-)
>

The standard is unknown, male, female, and n/a.

--
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL

pgsql-general by date:

Previous
From: Steve Crawford
Date:
Subject: Re: Create temporary function
Next
From: "Rob Wultsch"
Date:
Subject: Re: How to modify ENUM datatypes?