Re: ENUM like data type - Mailing list pgsql-sql

From Bruno Wolff III
Subject Re: ENUM like data type
Date
Msg-id 20050628123720.GA20566@wolff.to
Whole thread Raw
In response to ENUM like data type  (MRB <nomail@example.com>)
List pgsql-sql
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.


pgsql-sql by date:

Previous
From: Sergey Levchenko
Date:
Subject: ERROR: "TZ"/"tz" not supported
Next
From: Bruno Wolff III
Date:
Subject: Re: cross-table reference