Skip site navigation (1) Skip section navigation (2)

Re: Alias to a type

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Sean Davis <sdavis2(at)mail(dot)nih(dot)gov>
Cc: Achilleus Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>,Veikko Mäkinen <veikko(dot)makinen(at)ecom(dot)fi>,pgsql-sql(at)postgresql(dot)org
Subject: Re: Alias to a type
Date: 2005-06-22 12:18:06
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-sql
On Wed, Jun 22, 2005 at 08:04:39 -0400,
  Sean Davis <sdavis2(at)mail(dot)nih(dot)gov> 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.

In response to

pgsql-sql by date

Next:From: Veikko MäkinenDate: 2005-06-22 13:14:09
Subject: Re: Alias to a type
Previous:From: Achilleus MantziosDate: 2005-06-22 12:14:25
Subject: Re: Alias to a type

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group