Re: Unable to create an array of a domain - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: Unable to create an array of a domain
Date
Msg-id 1082462005.57436.102.camel@jester
Whole thread Raw
In response to Unable to create an array of a domain  (Mark Gibson <gibsonm@cromwell.co.uk>)
List 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.



pgsql-hackers by date:

Previous
From: Mark Gibson
Date:
Subject: Unable to create an array of a domain
Next
From: Bruce Momjian
Date:
Subject: Re: pg_encoding not needed anymore