ERROR: (custom type via CREATE TYPE) is not a valid base type for a domain

From: John Oyler <john(dot)m(dot)oyler(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: ERROR: (custom type via CREATE TYPE) is not a valid base type for a domain
Date: 2009-11-21 21:55:27
Message-ID: 3cc9797c0911211355i79f52b43xa06add9b0a28ef98@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tim Landscheidt 2009-11-21 22:22:36 Re: Books, the lulu.com scam
Previous Message Yordan Radunchev 2009-11-21 17:10:14 Re: Books, the lulu.com scam