From: Jasen Betts <jasen@xnet.co.nz>
To: pgsql-sql@postgresql.org
Subject: Re: constants in 2-column foreign keys or how to design a storage for text-groups ?
Date: 11 Dec 2009 08:39:47 GMT
Message-ID: <hft0gj$2j5$1@reversiblemaps.ath.cx> (raw)
References: <4B1EED62.6050600@gmx.net>
On 2009-12-09, Andreas <maps.on@gmx.net> wrote:
> Hi,
...
> stupid example:
> ---------------
> color: red, green, blue
> size: tiny, little, big, giant
> structure: hard, soft, floppy
>
> How would I solve the rather common text storage issue?
have you considered using enumerated types instead?
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: jasen@xnet.co.nz
Subject: Re: constants in 2-column foreign keys or how to design a storage for text-groups ?
In-Reply-To: <hft0gj$2j5$1@reversiblemaps.ath.cx>
* 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