pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-sql@postgresql.org
Cc: Mario Splivalo <mario.splivalo@megafon.hr>
Subject: Re: ENUM vs DOMAIN vs FKyed loookup table
Date: Wed, 8 Apr 2009 22:42:25 +0300
Message-ID: <200904082242.26507.peter_e@gmx.net> (raw)
In-Reply-To: <49DCDA27.4090901@megafon.hr>
References: <49DCDA27.4090901@megafon.hr>

On Wednesday 08 April 2009 20:08:55 Mario Splivalo wrote:
> What are your practices, when do you use ENUMs and when Domains?

When given the choice, pretty much ENUMs.  Domains weren't really conceived 
for this sort of thing in the first place, so it's good to move away from 
them.



view thread (6+ messages)  latest in thread

Message-ID: <200904082242.26507.peter_e@gmx.net>
Permalink:  ../200904082242.26507.peter_e@gmx.net/
Also on:    postgresql.org/message-id/200904082242.26507.peter_e@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: peter_e@gmx.net, mario.splivalo@megafon.hr
  Subject: Re: ENUM vs DOMAIN vs FKyed loookup table
  In-Reply-To: <200904082242.26507.peter_e@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox