pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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.



view thread (16+ messages)  latest in thread

Message-ID: <20050628123720.GA20566@wolff.to>
Permalink:  ../20050628123720.GA20566@wolff.to/
Also on:    postgresql.org/message-id/20050628123720.GA20566@wolff.to

 · 

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: 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