pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Longman <craigl@begeek.com>
To: pgsql-sql@postgresql.org
Subject: create datatype
Date: 29 Jun 2001 11:36:45 -0400
Message-ID: <993829006.11585.2.camel@jigra.begeek.com> (raw)


some of the databases i'm trying to convert to postgres use user-defined
datatypes to simplify/standardize table creation.  in postgres, the only
thing similar i can find is the 'CREATE TYPE' command, but it is a
little different, and substantially more than i need.  all i need is
basically #DEFINE functionality.  so, its more like aliasing a datatype
to simply map directly to a specific postgres datatype, for (var)chars,
a specific length is also provided.

is this just not available in pgsql right now?

cheers,

-- 

    CraigL->Thx();
    Be Developer ID: 5852





Message-ID: <993829006.11585.2.camel@jigra.begeek.com>
Permalink:  ../993829006.11585.2.camel@jigra.begeek.com/
Also on:    postgresql.org/message-id/993829006.11585.2.camel@jigra.begeek.com

 · 

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: craigl@begeek.com
  Subject: Re: create datatype
  In-Reply-To: <993829006.11585.2.camel@jigra.begeek.com>

* 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