Re: Alias to a type

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: Alias to a type
Дата
Msg-id 20050622121806.GA27654@wolff.to
обсуждение исходный текст
Ответ на Re: Alias to a type  (Sean Davis <sdavis2@mail.nih.gov>)
Список 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 по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Alias to a type
Следующее
От: Achilleus Mantzios
Дата:
Сообщение: Re: Alias to a type