pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruno Wolff III <bruno@wolff.to>
To: Sean Davis <sdavis2@mail.nih.gov>
Cc: Achilleus Mantzios <achill@matrix.gatewaynet.com>
Cc: Veikko Mäkinen <veikko.makinen@ecom.fi>
Cc: pgsql-sql@postgresql.org
Subject: Re: Alias to a type
Date: Wed, 22 Jun 2005 07:18:06 -0500
Message-ID: <20050622121806.GA27654@wolff.to> (raw)
In-Reply-To: <af9f545f8a3ab4a09d90b2d589443a49@mail.nih.gov>
References: <Pine.LNX.4.44.0506221440440.4771-100000@matrix.gatewaynet.com>
	<af9f545f8a3ab4a09d90b2d589443a49@mail.nih.gov>

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.



view thread (8+ messages)  latest in thread

Message-ID: <20050622121806.GA27654@wolff.to>
Permalink:  ../20050622121806.GA27654@wolff.to/
Also on:    postgresql.org/message-id/20050622121806.GA27654@wolff.to

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: bruno@wolff.to, sdavis2@mail.nih.gov, achill@matrix.gatewaynet.com, veikko.makinen@ecom.fi
  Subject: Re: Alias to a type
  In-Reply-To: <20050622121806.GA27654@wolff.to>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox