pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rod Taylor <rbt@rbt.ca>
To: ow <oneway_111@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: A simple way to Create type ...?
Date: Tue, 16 Sep 2003 17:47:23 -0400
Message-ID: <1063748843.26265.1.camel@jester> (raw)
In-Reply-To: <20030916211431.66225.qmail@web21413.mail.yahoo.com>
References: <20030916211431.66225.qmail@web21413.mail.yahoo.com>

> 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

Attachments:

  signature.asc (application/pgp-signature, 186B) download

view thread (6+ messages)  latest in thread

Message-ID: <1063748843.26265.1.camel@jester>
Permalink:  ../1063748843.26265.1.camel@jester/
Also on:    postgresql.org/message-id/1063748843.26265.1.camel@jester

 · 

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: rbt@rbt.ca, oneway_111@yahoo.com
  Subject: Re: A simple way to Create type ...?
  In-Reply-To: <1063748843.26265.1.camel@jester>

* 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