Re: Unable to create an array of a domain

From: Rod Taylor <pg(at)rbt(dot)ca>
To: Mark Gibson <gibsonm(at)cromwell(dot)co(dot)uk>
Cc: "Hackers (PostgreSQL)" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Unable to create an array of a domain
Date: 2004-04-20 11:53:25
Message-ID: 1082462005.57436.102.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Is there any reason why a domain cannot use another domain as it's base
> type?

It hasn't been written yet, but Tom has spent some time ensuring the
system could be expanded to deal with this.

> And why isn't an array type created for a domain?
> (Is there a way to create an array for a domain without resorting to an
> array of the domain's base type?)

It was difficult to ensure that the constraints would be applied to all
elements of an array but that may have changed since array support has
been rewritten.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-04-20 12:59:20 Re: pg_encoding not needed anymore
Previous Message Mark Gibson 2004-04-20 10:31:21 Unable to create an array of a domain