ERROR: (custom type via CREATE TYPE) is not a valid base type for a domain - Mailing list pgsql-general

From John Oyler
Subject ERROR: (custom type via CREATE TYPE) is not a valid base type for a domain
Date
Msg-id 3cc9797c0911211355i79f52b43xa06add9b0a28ef98@mail.gmail.com
Whole thread Raw
Responses Re: ERROR: (custom type via CREATE TYPE) is not a valid base type for a domain
List pgsql-general
I receive this error message whenever I attempt to create a domain
from a custom type, but Google comes up short on explanations. A few
mailing list messages touch on the subject, but nothing like the
details on just where the limits lay or why they are as they are (or
even if work is being done on this, and a new version might allow this
someday).

I was hoping to create a domain so that I could constrain the value of
one of the elements dependent on the value of the other element(s).

Can anyone shed some light on this?

Thanks,
John O.

pgsql-general by date:

Previous
From: Yordan Radunchev
Date:
Subject: Re: Books, the lulu.com scam
Next
From: Tim Landscheidt
Date:
Subject: Re: Books, the lulu.com scam