Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id B52B02E2DB6 for ; Sun, 10 Feb 2008 23:14:35 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 03354-01-3 for ; Sun, 10 Feb 2008 23:14:23 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 78CCF2E350A for ; Sun, 10 Feb 2008 22:57:55 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m1B2vsOP015373; Sun, 10 Feb 2008 21:57:54 -0500 (EST) To: "Dean Gibson (DB Administrator)" cc: pgsql-sql@postgresql.org Subject: Re: Can CREATE TYPE be used to create a synonym? In-reply-to: <47AFA703.5060907@ultimeth.com> References: <47AFA703.5060907@ultimeth.com> Comments: In-reply-to "Dean Gibson (DB Administrator)" message dated "Sun, 10 Feb 2008 17:38:11 -0800" Date: Sun, 10 Feb 2008 21:57:53 -0500 Message-ID: <15372.1202698673@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/68 X-Sequence-Number: 30159 "Dean Gibson (DB Administrator)" 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