Re: Can CREATE TYPE be used to create a synonym?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Dean Gibson (DB Administrator)" <postgresql(at)ultimeth(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Can CREATE TYPE be used to create a synonym?
Date: 2008-02-11 02:57:53
Message-ID: 15372.1202698673@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Dean Gibson (DB Administrator)" <postgresql(at)ultimeth(dot)com> writes:
> CREATE TYPE DATETIME AS (dummy TIMESTAMP);

> I suspect not (syntax issues w/ input, output, etc). Is there an
> alternate way to declare a type synonym?

CREATE DOMAIN would serve a lot better.

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2008-02-11 03:11:39 Re: Can CREATE TYPE be used to create a synonym?
Previous Message Dean Gibson (DB Administrator) 2008-02-11 01:38:11 Can CREATE TYPE be used to create a synonym?