Re: A simple way to Create type ...?

From: Rod Taylor <rbt(at)rbt(dot)ca>
To: ow <oneway_111(at)yahoo(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: A simple way to Create type ...?
Date: 2003-09-16 21:47:23
Message-ID: 1063748843.26265.1.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message ow 2003-09-16 22:13:11 Re: A simple way to Create type ...?
Previous Message Christopher Browne 2003-09-16 21:27:13 Re: A simple way to Create type ...?