From: Bruno Wolff III <bruno@wolff.to>
To: MRB <nomail@example.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: ENUM like data type
Date: Tue, 28 Jun 2005 07:37:20 -0500
Message-ID: <20050628123720.GA20566@wolff.to> (raw)
In-Reply-To: <11bgc1oblfasq3d@corp.supernews.com>
References: <11bgc1oblfasq3d@corp.supernews.com>
On Tue, Jun 21, 2005 at 17:20:19 +0200,
MRB <nomail@example.com> wrote:
>
> Here is where I get uncertain as to if this is possible. My idea is to
> create a pseudo type that triggers the creation of it's lookup tables
> the same way the SERIAL type triggers creation of a sequence and returns
> an int with the right default value.
You might want to look at using a domain to do this.
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: bruno@wolff.to, nomail@example.com
Subject: Re: ENUM like data type
In-Reply-To: <20050628123720.GA20566@wolff.to>
* 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