X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 752B552970 for ; Wed, 22 Jun 2005 09:18:30 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 03068-08 for ; Wed, 22 Jun 2005 12:18:23 +0000 (GMT) Received: from wolff.to (wolff.to [66.93.197.194]) by svr1.postgresql.org (Postfix) with SMTP id 9763452968 for ; Wed, 22 Jun 2005 09:18:21 -0300 (ADT) Received: (qmail 28990 invoked by uid 500); 22 Jun 2005 12:18:06 -0000 Date: Wed, 22 Jun 2005 07:18:06 -0500 From: Bruno Wolff III To: Sean Davis Cc: Achilleus Mantzios , Veikko =?iso-8859-1?Q?M=E4kinen?= , pgsql-sql@postgresql.org Subject: Re: Alias to a type Message-ID: <20050622121806.GA27654@wolff.to> Mail-Followup-To: Bruno Wolff III , Sean Davis , Achilleus Mantzios , Veikko =?iso-8859-1?Q?M=E4kinen?= , pgsql-sql@postgresql.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200506/268 X-Sequence-Number: 21869 On Wed, Jun 22, 2005 at 08:04:39 -0400, Sean Davis wrote: > > > Just for my own edification, does creating a "simple" domain like this > then require a whole set of functions for indexing, etc., like other > more complex user-defined types, or will postgres "do the right thing"? No, the underlying type's class is still used. You don't need to create new comparison or type conversion functions.