Re: Alias to a type - Mailing list pgsql-sql

From Bruno Wolff III
Subject Re: Alias to a type
Date
Msg-id 20050622121806.GA27654@wolff.to
Whole thread Raw
In response to Re: Alias to a type  (Sean Davis <sdavis2@mail.nih.gov>)
List pgsql-sql
On Wed, Jun 22, 2005 at 08:04:39 -0400, Sean Davis <sdavis2@mail.nih.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.


pgsql-sql by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Alias to a type
Next
From: Achilleus Mantzios
Date:
Subject: Re: Alias to a type