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: 20050622121806.GA27654@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

Browse pgsql-sql by date

  From Date Subject
Next Message Veikko Mäkinen 2005-06-22 13:14:09 Re: Alias to a type
Previous Message Achilleus Mantzios 2005-06-22 12:14:25 Re: Alias to a type