X-Original-To: pgsql-sql@postgresql.org Received: from joeconway.com (63-210-180-150.skyriver.net [63.210.180.150]) by postgresql.org (Postfix) with ESMTP id 501A1474E42 for ; Sun, 9 Mar 2003 20:35:49 -0500 (EST) Received: from [192.168.5.3] (account jconway HELO joeconway.com) by joeconway.com (CommuniGate Pro SMTP 4.0.4) with ESMTP-TLS id 1650916; Sun, 09 Mar 2003 18:11:47 -0800 Message-ID: <3E6BEB77.8060203@joeconway.com> Date: Sun, 09 Mar 2003 17:33:43 -0800 From: Joe Conway User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: jack Cc: pgsql-sql@postgresql.org Subject: Re: About Create Type References: <003901c2e6a3$6408ef00$1400a8c0@jac> In-Reply-To: <003901c2e6a3$6408ef00$1400a8c0@jac> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200303/233 X-Sequence-Number: 12273 jack wrote: > When I look at CREATE TYPE on PostgreSql V7.3 Document. What it describes > is beyond what I can understand. My requirement is just I want to define a > type "tyAmt" as "NUMERIC (10,2)" for an application in order to make such > type of columns consistent. Is there any simple way to implement it? Thank > you! > I think you really want to create a DOMAIN. See: http://www.us.postgresql.org/users-lounge/docs/7.3/postgres/sql-createdomain.html HTH, Joe