Re: A simple way to Create type ...? - Mailing list pgsql-sql

From Rod Taylor
Subject Re: A simple way to Create type ...?
Date
Msg-id 1063748843.26265.1.camel@jester
Whole thread Raw
In response to Re: A simple way to Create type ...?  (ow <oneway_111@yahoo.com>)
Responses Re: A simple way to Create type ...?
List pgsql-sql
> I guess, ideally it'd be
>   create type AddressType AS varchar(50) ;
> but it does not work.

Only one keyword off. SQL calls this a domain.

They're limited in 7.3, but much improved (not yet perfect) for 7.4.

http://www.postgresql.org/docs/7.3/interactive/sql-createdomain.html

pgsql-sql by date:

Previous
From: ow
Date:
Subject: Re: A simple way to Create type ...?
Next
From: Christopher Browne
Date:
Subject: Re: A simple way to Create type ...?